Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009932/0.0009932, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 166.8 kB / 24.92 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.028/1.028, allocations: 177 MB / 205.2 MB, free: 4.996 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.649e-05, allocations: 2.312 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004958/0.004975, allocations: 4.842 MB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009889/0.01486, allocations: 10.18 MB / 288.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.01518, allocations: 47.5 kB / 288.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.01641, allocations: 0.6385 MB / 289.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.01803, allocations: 1.037 MB / 290.2 MB, free: 176 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1047/0.1227, allocations: 0.5189 MB / 290.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.1245, allocations: 1.458 MB / 292.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1247, allocations: 126.1 kB / 292.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.1254, allocations: 0.5719 MB / 292.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.1257, allocations: 246.4 kB / 293.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.1258, allocations: 31.78 kB / 293.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.1272, allocations: 0.7599 MB / 293.9 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.1273, allocations: 110.4 kB / 294 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.1275, allocations: 228.2 kB / 294.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.1287, allocations: 1.083 MB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1287, allocations: 0.8125 kB / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1287, allocations: 0 / 295.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1287, allocations: 1.406 kB / 295.3 MB, free: 14.77 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.001194/0.1299, allocations: 1.248 MB / 296.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1299, allocations: 12.45 kB / 296.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1301, allocations: 95.22 kB / 296.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.1306, allocations: 0.61 MB / 297.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1307, allocations: 19 kB / 297.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.1307, allocations: 25.98 kB / 297.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.131, allocations: 228.7 kB / 297.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.131, allocations: 3.938 kB / 297.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.131, allocations: 14.02 kB / 297.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.131, allocations: 6.641 kB / 297.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1312, allocations: 91.59 kB / 297.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.1321, allocations: 0.8503 MB / 298.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1323, allocations: 182.6 kB / 298.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1324, allocations: 127.4 kB / 298.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/0.1344, allocations: 1.527 MB / 300.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.1346, allocations: 122.2 kB / 300.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.1346, allocations: 0 / 300.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005178/0.1351, allocations: 311.8 kB / 300.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.1351, allocations: 57.45 kB / 300.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.1356, allocations: 0.7391 MB / 301.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1356, allocations: 33.8 kB / 301.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1357, allocations: 278 kB / 301.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.1358, allocations: 107.8 kB / 301.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.1359, allocations: 67.62 kB / 302 MB, free: 12.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.1359, allocations: 325.5 kB / 302.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.1359, allocations: 35.67 kB / 302.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/0.136, allocations: 153.9 kB / 302.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.1362, allocations: 225.1 kB / 302.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1362, allocations: 1.062 kB / 302.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003347/0.1365, allocations: 310.3 kB / 303 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1365, allocations: 6.312 kB / 303 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.1366, allocations: 7.516 kB / 303 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.1367, allocations: 44.12 kB / 303.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.1369, allocations: 81.12 kB / 303.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007327/0.1376, allocations: 2.379 MB / 305.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1378, allocations: 32.64 kB / 305.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1378, allocations: 13.28 kB / 305.6 MB, free: 9.262 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.0001037/0.1379, allocations: 136.6 kB / 305.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.1379, allocations: 78.27 kB / 305.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.1383, allocations: 311.1 kB / 306.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1383, allocations: 11.47 kB / 306.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1383, allocations: 0 / 306.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1383, allocations: 5.344 kB / 306.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.1385, allocations: 309 kB / 306.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.1386, allocations: 5.875 kB / 306.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.1387, allocations: 39.22 kB / 306.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.873e-05/0.1388, allocations: 48.94 kB / 306.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1388, allocations: 7.062 kB / 306.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007225/0.1395, allocations: 2.374 MB / 308.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1395, allocations: 5.484 kB / 308.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1398, allocations: 315.6 kB / 309.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.1399, allocations: 97.78 kB / 309.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1399, allocations: 6.906 kB / 309.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.14, allocations: 10.58 kB / 309.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.1401, allocations: 21.59 kB / 309.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1401, allocations: 5.438 kB / 309.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1403, allocations: 370 kB / 309.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1403, allocations: 0 / 309.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.1406, allocations: 259.9 kB / 310 MB, free: 6.422 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.0003751/0.141, allocations: 396.7 kB / 310.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1413, allocations: 430.5 kB / 310.8 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.1414, allocations: 9.688 kB / 310.8 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1415, allocations: 334.4 kB / 311.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1418, allocations: 107 kB / 311.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.143, allocations: 1.345 MB / 312.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.1431, allocations: 148.5 kB / 312.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1432, allocations: 80.48 kB / 312.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.1434, allocations: 155.3 kB / 312.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1434, allocations: 0 / 312.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of Templates: time 0.0114/0.1548, allocations: 9.72 MB / 322.7 MB, free: 12.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7605249672196805]