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.0009898/0.0009898, allocations: 76.81 kB / 22.28 MB, free: 2.211 MB / 18.57 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.0016/0.0016, allocations: 166.5 kB / 25.7 MB, free: 7.941 MB / 18.57 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 0.9214/0.9214, allocations: 158.6 MB / 187.6 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.207e-05, allocations: 6.25 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004605/0.004627, allocations: 4.78 MB / 256.3 MB, free: 2.426 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.01799, allocations: 9.824 MB / 266.2 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.0187, allocations: 43.56 kB / 266.2 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.02038, allocations: 0.6264 MB / 266.8 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.02306, allocations: 1.014 MB / 267.8 MB, free: 6.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.02432, allocations: 0.5283 MB / 268.4 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.02621, allocations: 1.417 MB / 269.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.02646, allocations: 122.4 kB / 269.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007152/0.02718, allocations: 0.5418 MB / 270.5 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.02752, allocations: 235.2 kB / 270.7 MB, free: 4 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.02759, allocations: 32 kB / 270.7 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.02893, allocations: 0.7327 MB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.02904, allocations: 119.2 kB / 271.6 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.02926, allocations: 223.3 kB / 271.8 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.03058, allocations: 1.078 MB / 272.9 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.03058, allocations: 0 / 272.9 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.03059, allocations: 0 / 272.9 MB, free: 1.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.0306, allocations: 0 / 272.9 MB, free: 1.816 MB / 250.7 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.001036/0.03164, allocations: 1.245 MB / 274.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.03167, allocations: 11.98 kB / 274.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.03176, allocations: 96.83 kB / 274.2 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.03233, allocations: 0.6015 MB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.03235, allocations: 24.78 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.03238, allocations: 24 kB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.03264, allocations: 233.5 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.03265, allocations: 0 / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.03267, allocations: 8 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.03268, allocations: 15.98 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.03281, allocations: 83.19 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.0337, allocations: 0.8604 MB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.0339, allocations: 190.2 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.03401, allocations: 116.8 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.03583, allocations: 1.525 MB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.03598, allocations: 127.2 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.03598, allocations: 0 / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004941/0.03647, allocations: 307.1 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.0365, allocations: 59.39 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.0369, allocations: 0.738 MB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.03692, allocations: 33.7 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.03705, allocations: 282.8 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.03711, allocations: 103.1 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.03718, allocations: 69.94 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.03725, allocations: 321.9 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.03729, allocations: 32.81 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.03739, allocations: 148.4 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.03757, allocations: 228.9 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.03758, allocations: 7.938 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002947/0.03787, allocations: 299 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.03789, allocations: 8.062 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.03792, allocations: 12 kB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.03805, allocations: 41.62 kB / 280.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.03823, allocations: 87.81 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.03928, allocations: 2.368 MB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.03943, allocations: 47.66 kB / 283.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.03945, allocations: 8 kB / 283.2 MB, free: 6.977 MB / 266.7 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.0001251/0.03957, allocations: 141.8 kB / 283.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.03963, allocations: 71.91 kB / 283.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.03999, allocations: 301.8 kB / 283.7 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.04, allocations: 0 / 283.7 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.04, allocations: 4 kB / 283.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.04, allocations: 7.984 kB / 283.7 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.04026, allocations: 310.2 kB / 284 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.04028, allocations: 4 kB / 284 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.04042, allocations: 51.69 kB / 284 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.086e-05/0.04051, allocations: 45.61 kB / 284.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.04053, allocations: 8 kB / 284.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009673/0.04149, allocations: 2.368 MB / 286.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.04149, allocations: 0 / 286.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.04182, allocations: 323.2 kB / 286.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.04192, allocations: 107.2 kB / 286.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.04196, allocations: 4 kB / 286.9 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.04206, allocations: 7.984 kB / 286.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.04211, allocations: 23.95 kB / 286.9 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.04213, allocations: 8 kB / 286.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002464/0.04238, allocations: 369.7 kB / 287.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04238, allocations: 0 / 287.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.04275, allocations: 251.3 kB / 287.5 MB, free: 2.359 MB / 266.7 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.0004142/0.04316, allocations: 393.5 kB / 287.9 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.04354, allocations: 419.3 kB / 288.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.04355, allocations: 12 kB / 288.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.04376, allocations: 344.2 kB / 288.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.04401, allocations: 101.2 kB / 288.8 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.04537, allocations: 1.343 MB / 290.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.094e-05/0.04545, allocations: 145.6 kB / 290.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.0456, allocations: 89.14 kB / 290.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.04578, allocations: 155.3 kB / 290.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04578, allocations: 0 / 290.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of Templates: time 0.01231/0.05809, allocations: 9.666 MB / 300.2 MB, free: 5.625 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7752914489246905]