Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 121.5 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 207.6 MB / 232.5 MB, free: 3.957 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 51.94 kB / 343 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.0998, allocations: 49.12 MB / 392.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006398/0.1062, allocations: 5.046 MB / 397.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.1205, allocations: 10.48 MB / 407.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.1217, allocations: 39.56 kB / 407.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.1238, allocations: 0.6866 MB / 408.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.1271, allocations: 0.9945 MB / 409.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.1289, allocations: 0.5998 MB / 410 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.1312, allocations: 1.346 MB / 411.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1314, allocations: 117.2 kB / 411.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.1318, allocations: 294.6 kB / 411.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.1321, allocations: 313.9 kB / 412 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-05/0.1322, allocations: 32 kB / 412 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.1336, allocations: 0.6714 MB / 412.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1337, allocations: 107.3 kB / 412.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003844/0.1341, allocations: 409.4 kB / 413.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.1357, allocations: 1.276 MB / 414.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1357, allocations: 0 / 414.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1357, allocations: 0 / 414.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.1357, allocations: 0 / 414.5 MB, free: 2.199 MB / 334.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.002058/0.1378, allocations: 1.353 MB / 415.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1378, allocations: 12.03 kB / 415.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.303e-05/0.1378, allocations: 8.75 kB / 415.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/0.1379, allocations: 66.72 kB / 415.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.1381, allocations: 120.2 kB / 416.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1391, allocations: 0.7512 MB / 416.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.1391, allocations: 16.56 kB / 416.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.1392, allocations: 31.94 kB / 416.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.1399, allocations: 321.3 kB / 417.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1399, allocations: 0 / 417.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.1399, allocations: 12 kB / 417.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.1399, allocations: 15.98 kB / 417.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.1406, allocations: 270.2 kB / 417.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1426, allocations: 1.369 MB / 418.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.1433, allocations: 266.7 kB / 419.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.1438, allocations: 228.5 kB / 419.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004561/0.1484, allocations: 3.596 MB / 422.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.1488, allocations: 187.3 kB / 423.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.1488, allocations: 0 / 423.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001769/0.1506, allocations: 0.731 MB / 423.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1507, allocations: 63.28 kB / 423.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.1517, allocations: 0.8115 MB / 424.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1517, allocations: 33.7 kB / 424.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.1521, allocations: 456.8 kB / 425.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.1522, allocations: 99.17 kB / 425.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1523, allocations: 73.98 kB / 425.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1525, allocations: 322 kB / 425.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.1528, allocations: 116.7 kB / 425.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.1532, allocations: 228 kB / 426 MB, free: 5.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.1539, allocations: 356.9 kB / 426.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.154, allocations: 4 kB / 426.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001095/0.1551, allocations: 0.533 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1551, allocations: 8 kB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-05/0.1551, allocations: 32 kB / 426.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.1554, allocations: 62.03 kB / 427 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.1557, allocations: 71.84 kB / 427 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.1582, allocations: 2.852 MB / 429.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.1586, allocations: 43.72 kB / 429.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.1586, allocations: 20 kB / 430 MB, free: 1.453 MB / 350.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.0003527/0.159, allocations: 205.6 kB / 430.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.1591, allocations: 119.4 kB / 430.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.1603, allocations: 489.8 kB / 430.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1603, allocations: 3.984 kB / 430.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1603, allocations: 4 kB / 430.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1603, allocations: 4.031 kB / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.1611, allocations: 0.5545 MB / 431.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.509e-05/0.1612, allocations: 32.03 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.1614, allocations: 35.92 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.1616, allocations: 57.67 kB / 431.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.1616, allocations: 8 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.164, allocations: 2.844 MB / 434.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.164, allocations: 0 / 434.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.1654, allocations: 0.6119 MB / 434.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.1657, allocations: 188.3 kB / 435.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.1658, allocations: 8 kB / 435.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.166, allocations: 15.98 kB / 435.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.1661, allocations: 23.97 kB / 435.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.1662, allocations: 11.98 kB / 435.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007613/0.1669, allocations: 0.5507 MB / 435.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1669, allocations: 0 / 435.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007258/0.1676, allocations: 251.3 kB / 435.9 MB, free: 11.05 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.002249/0.1699, allocations: 1.399 MB / 437.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.1711, allocations: 0.5691 MB / 437.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1711, allocations: 0 / 437.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.1717, allocations: 427.8 kB / 438.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.1723, allocations: 104.2 kB / 438.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008919/0.1812, allocations: 5.822 MB / 444.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.1819, allocations: 0.9561 MB / 445.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.1823, allocations: 77.22 kB / 445.3 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.1827, allocations: 331.3 kB / 445.6 MB, free: 1.043 MB / 366.1 MB Notification: Performance of SimCode: time 1.814e-06/0.1827, allocations: 3.938 kB / 445.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2313/0.414, allocations: 17.61 MB / 463.2 MB, free: 64.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.2, allocations: 5.297 kB / 463.2 MB, free: 64.09 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.650619985011872] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.350861590006389 12.362286668 12.22407233 Calling exit ...