Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001254/0.001254, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0008824/0.0008824, allocations: 167.3 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8624/0.8624, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 4 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.262e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003743/0.003756, allocations: 4.809 MB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.01198, allocations: 10.18 MB / 288.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.01229, allocations: 47.5 kB / 288.5 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.01332, allocations: 0.6385 MB / 289.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.01503, allocations: 1.08 MB / 290.2 MB, free: 484 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08945/0.1045, allocations: 0.6075 MB / 290.8 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.1062, allocations: 1.459 MB / 292.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1064, allocations: 123.5 kB / 292.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005714/0.1069, allocations: 0.5712 MB / 292.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.1072, allocations: 246.1 kB / 293.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1072, allocations: 30.66 kB / 293.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1083, allocations: 0.6668 MB / 293.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.1084, allocations: 122.9 kB / 294 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.1085, allocations: 221 kB / 294.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.1095, allocations: 1.078 MB / 295.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1095, allocations: 1.281 kB / 295.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1095, allocations: 0 / 295.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1095, allocations: 0 / 295.3 MB, free: 15.58 MB / 266.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.00104/0.1106, allocations: 1.251 MB / 296.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.1106, allocations: 14.16 kB / 296.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1107, allocations: 94.27 kB / 296.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.1112, allocations: 0.6027 MB / 297.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1112, allocations: 23.42 kB / 297.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.1113, allocations: 24.34 kB / 297.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.1115, allocations: 227.8 kB / 297.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1115, allocations: 3.938 kB / 297.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.1116, allocations: 10.2 kB / 297.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1116, allocations: 11.3 kB / 297.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.1117, allocations: 94.08 kB / 297.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.1126, allocations: 0.8508 MB / 298.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.1128, allocations: 184.1 kB / 298.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1129, allocations: 118.1 kB / 298.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/0.1147, allocations: 1.52 MB / 300.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.1149, allocations: 129.2 kB / 300.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.1149, allocations: 1.375 kB / 300.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.000495/0.1154, allocations: 315.3 kB / 300.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.1154, allocations: 59.09 kB / 300.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.1158, allocations: 0.7377 MB / 301.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1158, allocations: 31.38 kB / 301.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.116, allocations: 289.6 kB / 301.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.116, allocations: 106.7 kB / 302 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.1161, allocations: 65.09 kB / 302 MB, free: 12.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.568e-05/0.1161, allocations: 322.6 kB / 302.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.1161, allocations: 36 kB / 302.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.1162, allocations: 150.9 kB / 302.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1164, allocations: 220.7 kB / 302.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1164, allocations: 2 kB / 302.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002894/0.1167, allocations: 309.2 kB / 303 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1167, allocations: 8 kB / 303 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.1167, allocations: 6.062 kB / 303.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.1168, allocations: 53.84 kB / 303.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.117, allocations: 72.3 kB / 303.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006359/0.1176, allocations: 2.376 MB / 305.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1177, allocations: 43.92 kB / 305.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1178, allocations: 16.59 kB / 305.6 MB, free: 10.04 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 9.694e-05/0.1179, allocations: 128.1 kB / 305.7 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.1179, allocations: 80.2 kB / 305.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.1183, allocations: 301.6 kB / 306.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1183, allocations: 6 kB / 306.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1183, allocations: 1.938 kB / 306.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1183, allocations: 0 / 306.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.1185, allocations: 315.3 kB / 306.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.1185, allocations: 4.703 kB / 306.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1186, allocations: 39.09 kB / 306.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.003e-05/0.1187, allocations: 39.45 kB / 306.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1187, allocations: 8.781 kB / 306.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005323/0.1192, allocations: 2.375 MB / 308.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1192, allocations: 3.891 kB / 308.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1195, allocations: 313.3 kB / 309.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.1196, allocations: 97.67 kB / 309.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.1196, allocations: 10.06 kB / 309.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.1197, allocations: 6.938 kB / 309.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1198, allocations: 26.17 kB / 309.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1198, allocations: 13.23 kB / 309.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.12, allocations: 369.8 kB / 309.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.12, allocations: 0 / 309.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.1203, allocations: 254.2 kB / 310 MB, free: 7.215 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.0003533/0.1207, allocations: 395.8 kB / 310.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.121, allocations: 431.7 kB / 310.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.121, allocations: 10.41 kB / 310.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.1211, allocations: 340.8 kB / 311.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.1214, allocations: 111.2 kB / 311.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1225, allocations: 1.327 MB / 312.5 MB, free: 5.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.1226, allocations: 152.7 kB / 312.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.1227, allocations: 87.16 kB / 312.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1228, allocations: 151.8 kB / 312.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1228, allocations: 0 / 312.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of Templates: time 0.01066/0.1335, allocations: 9.695 MB / 322.6 MB, free: 12.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.5890627433545887]