Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004279, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 47.59 MB / 326.4 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004404/0.2204, allocations: 4.209 MB / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007951/0.2284, allocations: 5.672 MB / 336.3 MB, free: 9.594 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000611/0.229, allocations: 37.56 kB / 336.4 MB, free: 9.574 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.2303, allocations: 406.7 kB / 336.8 MB, free: 9.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.2326, allocations: 0.7086 MB / 337.5 MB, free: 8.473 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2336, allocations: 303.2 kB / 337.8 MB, free: 8.176 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.2368, allocations: 1.844 MB / 339.6 MB, free: 6.328 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.2371, allocations: 151.5 kB / 339.8 MB, free: 6.164 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.2375, allocations: 290.5 kB / 340 MB, free: 5.879 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.2379, allocations: 310 kB / 340.3 MB, free: 5.574 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.2379, allocations: 16 kB / 340.4 MB, free: 5.559 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.239, allocations: 423.6 kB / 340.8 MB, free: 5.145 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.48e-05/0.2391, allocations: 87.33 kB / 340.9 MB, free: 5.059 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2392, allocations: 221.1 kB / 341.1 MB, free: 4.836 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.2401, allocations: 0.9037 MB / 342 MB, free: 3.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2401, allocations: 0 / 342 MB, free: 3.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2401, allocations: 0 / 342 MB, free: 3.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.2402, allocations: 0 / 342 MB, free: 3.93 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001763/0.2419, allocations: 1.301 MB / 343.3 MB, free: 2.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.242, allocations: 12.03 kB / 343.3 MB, free: 2.559 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.2421, allocations: 126.4 kB / 343.4 MB, free: 2.434 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2432, allocations: 0.8007 MB / 344.2 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.2432, allocations: 20.44 kB / 344.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.2433, allocations: 24 kB / 344.3 MB, free: 1.539 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.2438, allocations: 302.6 kB / 344.5 MB, free: 1.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2438, allocations: 4 kB / 344.6 MB, free: 1.227 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.2439, allocations: 8 kB / 344.6 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.2439, allocations: 8 kB / 344.6 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.2443, allocations: 229.8 kB / 344.8 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.246, allocations: 1.149 MB / 345.9 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.2464, allocations: 250.3 kB / 346.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008993/0.2473, allocations: 0.7594 MB / 346.9 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.2473, allocations: 34.56 kB / 347 MB, free: 14.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=38): time 1.753e-06/0.2473, allocations: 4 kB / 347 MB, free: 14.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.002924/0.2503, allocations: 1.964 MB / 348.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.2503, allocations: 122.8 kB / 349.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009424/0.2513, allocations: 0.9222 MB / 350 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.2513, allocations: 29.7 kB / 350 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.2516, allocations: 361.5 kB / 350.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.2517, allocations: 134 kB / 350.5 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.2517, allocations: 4 kB / 350.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2518, allocations: 322 kB / 350.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.2521, allocations: 128.6 kB / 350.9 MB, free: 10.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.2523, allocations: 159.8 kB / 351.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.2526, allocations: 183 kB / 351.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2526, allocations: 0 / 351.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008355/0.2535, allocations: 0.5533 MB / 351.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.2535, allocations: 37.69 kB / 351.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.2536, allocations: 20.03 kB / 351.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.2538, allocations: 65.69 kB / 352 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.254, allocations: 47.91 kB / 352 MB, free: 9.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.2563, allocations: 3.005 MB / 355 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.2566, allocations: 16.03 kB / 355 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.2567, allocations: 23.98 kB / 355 MB, free: 5.957 MB / 286.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003817/0.2571, allocations: 263.8 kB / 355.3 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.2572, allocations: 118.6 kB / 355.4 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2585, allocations: 0.6765 MB / 356.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.2585, allocations: 4 kB / 356.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2585, allocations: 7.938 kB / 356.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2585, allocations: 11.97 kB / 356.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.2592, allocations: 0.6121 MB / 356.7 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/0.2592, allocations: 15.98 kB / 356.7 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.2594, allocations: 35.88 kB / 356.8 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.2596, allocations: 69.67 kB / 356.8 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.2596, allocations: 15.98 kB / 356.9 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.2617, allocations: 3.012 MB / 359.9 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2617, allocations: 0 / 359.9 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.2629, allocations: 0.8627 MB / 360.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.2633, allocations: 283.4 kB / 361 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-05/0.2634, allocations: 8 kB / 361 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.2636, allocations: 16.36 kB / 361 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.2637, allocations: 27.97 kB / 361.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.2638, allocations: 19.94 kB / 361.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006841/0.2645, allocations: 0.6218 MB / 361.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2645, allocations: 0 / 361.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007757/0.2653, allocations: 227.8 kB / 361.9 MB, free: 14.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004513/0.2657, allocations: 306.6 kB / 362.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.2668, allocations: 0.7923 MB / 363 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2668, allocations: 0 / 363 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006168/0.2674, allocations: 0.6215 MB / 363.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.2678, allocations: 88.81 kB / 363.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.27, allocations: 1.876 MB / 365.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.2704, allocations: 1.019 MB / 366.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.2708, allocations: 93.64 kB / 366.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.2708, allocations: 47.44 kB / 366.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2708, allocations: 0 / 366.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of Templates: time 0.01479/0.2856, allocations: 7.893 MB / 374.7 MB, free: 1.734 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) Environment - environmentSimulation: