Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 55.91 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09727, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006315/0.1036, allocations: 5.088 MB / 422.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.117, allocations: 10.81 MB / 433.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.1177, allocations: 31.75 kB / 433.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.1196, allocations: 0.702 MB / 434.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.1226, allocations: 1.002 MB / 435.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.1243, allocations: 0.6038 MB / 436 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.1265, allocations: 1.373 MB / 437.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.1268, allocations: 125.1 kB / 437.5 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.1272, allocations: 290.5 kB / 437.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.1276, allocations: 317.9 kB / 438.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.1276, allocations: 32 kB / 438.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.1292, allocations: 0.7492 MB / 438.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1293, allocations: 107.3 kB / 439 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.1297, allocations: 397.4 kB / 439.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.1316, allocations: 1.276 MB / 440.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1316, allocations: 0 / 440.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1316, allocations: 0 / 440.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.1316, allocations: 0 / 440.7 MB, free: 5.629 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002215/0.1338, allocations: 1.357 MB / 442 MB, free: 4.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1339, allocations: 12.03 kB / 442 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.929e-05/0.134, allocations: 62.72 kB / 442.1 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.1341, allocations: 124.2 kB / 442.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.1353, allocations: 0.7595 MB / 443 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1353, allocations: 24.56 kB / 443 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.1354, allocations: 24 kB / 443 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.136, allocations: 321.3 kB / 443.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.136, allocations: 0 / 443.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1361, allocations: 8 kB / 443.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.1361, allocations: 8 kB / 443.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/0.1367, allocations: 282.1 kB / 443.6 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.1388, allocations: 1.369 MB / 445 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.1395, allocations: 274.5 kB / 445.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.1399, allocations: 213.2 kB / 445.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2046/0.3445, allocations: 3.584 MB / 449 MB, free: 28.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004251/0.3449, allocations: 194.8 kB / 449.2 MB, free: 28.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 3.587e-06/0.3449, allocations: 1.75 kB / 449.2 MB, free: 28.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001514/0.3464, allocations: 0.735 MB / 450 MB, free: 28.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3465, allocations: 58.09 kB / 450 MB, free: 28.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.3473, allocations: 0.8195 MB / 450.9 MB, free: 28.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3473, allocations: 31.77 kB / 450.9 MB, free: 28.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.3476, allocations: 448.2 kB / 451.3 MB, free: 28.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.3477, allocations: 108.5 kB / 451.4 MB, free: 28.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3478, allocations: 70.73 kB / 451.5 MB, free: 28.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.3478, allocations: 323.8 kB / 451.8 MB, free: 27.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.3481, allocations: 118.5 kB / 451.9 MB, free: 27.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.3484, allocations: 221.2 kB / 452.1 MB, free: 27.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.349, allocations: 368.6 kB / 452.5 MB, free: 27.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.349, allocations: 2.406 kB / 452.5 MB, free: 27.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009027/0.3499, allocations: 0.5165 MB / 453 MB, free: 27.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3499, allocations: 6.75 kB / 453 MB, free: 27.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.991e-05/0.35, allocations: 35.36 kB / 453.1 MB, free: 27.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.3502, allocations: 62.42 kB / 453.1 MB, free: 27.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.3505, allocations: 71.95 kB / 453.2 MB, free: 27.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.352, allocations: 2.846 MB / 456 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.3523, allocations: 44.03 kB / 456.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3524, allocations: 21 kB / 456.1 MB, free: 24.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.3526, allocations: 199.7 kB / 456.3 MB, free: 24.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.3527, allocations: 113.6 kB / 456.4 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.3537, allocations: 491.6 kB / 456.9 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3538, allocations: 4.016 kB / 456.9 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3538, allocations: 13.08 kB / 456.9 MB, free: 24.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3538, allocations: 1.266 kB / 456.9 MB, free: 24.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.3544, allocations: 0.5634 MB / 457.5 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.982e-05/0.3544, allocations: 34.48 kB / 457.5 MB, free: 24.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.3547, allocations: 37.8 kB / 457.5 MB, free: 24.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.3548, allocations: 48.19 kB / 457.6 MB, free: 24.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.3549, allocations: 9.641 kB / 457.6 MB, free: 24.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.3562, allocations: 2.853 MB / 460.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3562, allocations: 0 / 460.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3576, allocations: 0.6187 MB / 461.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.3578, allocations: 183.2 kB / 461.3 MB, free: 20.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.3579, allocations: 7.078 kB / 461.3 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3581, allocations: 15.97 kB / 461.3 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3582, allocations: 30.92 kB / 461.3 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.3583, allocations: 9.188 kB / 461.3 MB, free: 20.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007282/0.359, allocations: 0.5494 MB / 461.9 MB, free: 20.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.359, allocations: 5.125 kB / 461.9 MB, free: 20.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007204/0.3597, allocations: 245.1 kB / 462.1 MB, free: 20.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/0.3615, allocations: 1.404 MB / 463.5 MB, free: 19.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.3626, allocations: 0.5752 MB / 464.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3626, allocations: 0 / 464.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.3631, allocations: 423.2 kB / 464.5 MB, free: 19.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.3637, allocations: 113.7 kB / 464.6 MB, free: 18.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008181/0.3719, allocations: 5.803 MB / 470.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.3724, allocations: 0.9586 MB / 471.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003215/0.3728, allocations: 88.3 kB / 471.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.3731, allocations: 338.8 kB / 471.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3731, allocations: 0 / 471.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05575/0.4288, allocations: 17.58 MB / 489.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.48, allocations: 9.266 kB / 489.4 MB, free: 5.473 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.84642024897039] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.589543546084315 12.610521517 12.474543814 Calling exit ...