Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008573/0.0008575, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009314/0.0009312, allocations: 172.7 kB / 15.95 MB, free: 208 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.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.0004426/0.0004427, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003887/0.2316, allocations: 3.174 MB / 329.7 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2342, allocations: 1.344 MB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.2344, allocations: 9.406 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.2348, allocations: 131.7 kB / 331.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.236, allocations: 465.5 kB / 331.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008443/0.2369, allocations: 347.4 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.2374, allocations: 451.1 kB / 332.4 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.2388, allocations: 0.7134 MB / 333.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.2391, allocations: 185 kB / 333.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.2395, allocations: 235 kB / 333.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.2395, allocations: 22.09 kB / 333.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.24, allocations: 183.2 kB / 333.7 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.24, allocations: 83.02 kB / 333.8 MB, free: 11.97 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.2401, allocations: 103.3 kB / 333.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.2408, allocations: 0.534 MB / 334.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2408, allocations: 0 / 334.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2408, allocations: 0 / 334.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.2408, allocations: 0 / 334.4 MB, free: 11.49 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001905/0.2427, allocations: 0.8434 MB / 335.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2428, allocations: 12.03 kB / 335.3 MB, free: 10.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/0.2468, allocations: 0.5964 MB / 335.9 MB, free: 10.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.2473, allocations: 314.4 kB / 336.2 MB, free: 9.664 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.2474, allocations: 45.31 kB / 336.2 MB, free: 9.621 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.2475, allocations: 52 kB / 336.3 MB, free: 9.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.2487, allocations: 0.5726 MB / 336.8 MB, free: 8.988 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2487, allocations: 3.906 kB / 336.8 MB, free: 8.984 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.2488, allocations: 27.94 kB / 336.9 MB, free: 8.957 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2488, allocations: 12 kB / 336.9 MB, free: 8.945 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.2501, allocations: 0.6493 MB / 337.5 MB, free: 8.297 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003502/0.2536, allocations: 2.063 MB / 339.6 MB, free: 6.109 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.2563, allocations: 2.992 MB / 342.6 MB, free: 2.555 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.2568, allocations: 266.1 kB / 342.8 MB, free: 2.293 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.901e-05/0.2569, allocations: 89.55 kB / 342.9 MB, free: 2.184 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.257, allocations: 42.98 kB / 343 MB, free: 2.133 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.215e-06/0.257, allocations: 0 / 343 MB, free: 2.133 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001808/0.2588, allocations: 0.7583 MB / 343.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.2589, allocations: 59.78 kB / 343.8 MB, free: 1.277 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.2591, allocations: 200.7 kB / 344 MB, free: 1.074 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2591, allocations: 37.64 kB / 344 MB, free: 1.031 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.2593, allocations: 244.1 kB / 344.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.2594, allocations: 169.5 kB / 344.4 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.2595, allocations: 12 kB / 344.4 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2596, allocations: 342.8 kB / 344.8 MB, free: 272 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.2599, allocations: 165 kB / 344.9 MB, free: 104 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.2604, allocations: 283.8 kB / 345.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.2608, allocations: 204.7 kB / 345.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2608, allocations: 4 kB / 345.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001153/0.262, allocations: 0.5904 MB / 346 MB, free: 14.97 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.262, allocations: 8 kB / 346 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.262, allocations: 4 kB / 346 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.2624, allocations: 84.75 kB / 346.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.2629, allocations: 111.9 kB / 346.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.265, allocations: 1.648 MB / 347.9 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.2653, allocations: 55.44 kB / 347.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.2654, allocations: 23.98 kB / 347.9 MB, free: 12.91 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003029/0.2657, allocations: 185.7 kB / 348.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.2658, allocations: 27.72 kB / 348.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.267, allocations: 0.5512 MB / 348.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.267, allocations: 8 kB / 348.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2671, allocations: 4 kB / 348.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2671, allocations: 7.969 kB / 348.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.269, allocations: 1.181 MB / 349.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2691, allocations: 0 / 349.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.2694, allocations: 91.91 kB / 350 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/0.2697, allocations: 72.8 kB / 350.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.2697, allocations: 12 kB / 350.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.2717, allocations: 1.636 MB / 351.7 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2717, allocations: 0 / 351.7 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.2732, allocations: 0.8259 MB / 352.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.2733, allocations: 124.6 kB / 352.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.2734, allocations: 12 kB / 352.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.2736, allocations: 16 kB / 352.7 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/0.2737, allocations: 40.38 kB / 352.7 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.2738, allocations: 20 kB / 352.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.2739, allocations: 147.2 kB / 352.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.274, allocations: 0 / 352.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007008/0.2747, allocations: 159.5 kB / 353 MB, free: 7.543 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002476/0.2749, allocations: 135.2 kB / 353.2 MB, free: 7.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.276, allocations: 0.5932 MB / 353.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.2761, allocations: 0 / 353.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.2767, allocations: 398 kB / 354.1 MB, free: 6.395 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.2772, allocations: 32.14 kB / 354.2 MB, free: 6.363 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.279, allocations: 1.083 MB / 355.3 MB, free: 5.246 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.2795, allocations: 0.8175 MB / 356.1 MB, free: 4.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.2798, allocations: 55.2 kB / 356.1 MB, free: 4.352 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.2799, allocations: 35.42 kB / 356.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of SimCode: time 2.515e-06/0.2799, allocations: 0 / 356.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of Templates: time 0.009091/0.289, allocations: 4.012 MB / 360.2 MB, free: 308 kB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)