Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001255/0.001255, allocations: 100.1 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.001467/0.001467, 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.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0004806/0.0004807, allocations: 8 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2448, allocations: 47.59 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003397/0.2482, allocations: 3.015 MB / 329.5 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.2506, allocations: 1.363 MB / 330.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.2508, allocations: 8.438 kB / 330.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.2512, allocations: 123.2 kB / 331 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.2523, allocations: 485 kB / 331.4 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.253, allocations: 357.7 kB / 331.8 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.2534, allocations: 335.4 kB / 332.1 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.2547, allocations: 0.6971 MB / 332.8 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.255, allocations: 182.8 kB / 333 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.2553, allocations: 227.9 kB / 333.2 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.2554, allocations: 21.47 kB / 333.2 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.2557, allocations: 162.5 kB / 333.4 MB, free: 12.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.2558, allocations: 83.72 kB / 333.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.2559, allocations: 99.17 kB / 333.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005404/0.2565, allocations: 0.5345 MB / 334.1 MB, free: 11.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2565, allocations: 5.062 kB / 334.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.2565, allocations: 0 / 334.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2565, allocations: 3.938 kB / 334.1 MB, free: 11.89 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.001917/0.2584, allocations: 0.8335 MB / 334.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2585, allocations: 8.031 kB / 334.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/0.2625, allocations: 0.6003 MB / 335.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.263, allocations: 310.4 kB / 335.9 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.263, allocations: 49.25 kB / 335.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.2631, allocations: 59.98 kB / 336 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.2641, allocations: 0.5531 MB / 336.5 MB, free: 9.492 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.2641, allocations: 15.84 kB / 336.5 MB, free: 9.477 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.2642, allocations: 20 kB / 336.5 MB, free: 9.457 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.2642, allocations: 12 kB / 336.6 MB, free: 9.445 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.2653, allocations: 0.6571 MB / 337.2 MB, free: 8.789 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.2683, allocations: 2.052 MB / 339.3 MB, free: 6.613 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.2706, allocations: 2.995 MB / 342.3 MB, free: 3.055 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.935e-05/0.2707, allocations: 93.52 kB / 342.4 MB, free: 2.945 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2707, allocations: 39 kB / 342.4 MB, free: 2.898 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.394e-06/0.2708, allocations: 4 kB / 342.4 MB, free: 2.895 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001707/0.2725, allocations: 0.7665 MB / 343.2 MB, free: 2.098 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2725, allocations: 63.78 kB / 343.2 MB, free: 2.023 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2727, allocations: 208.7 kB / 343.4 MB, free: 1.812 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.2728, allocations: 33.7 kB / 343.5 MB, free: 1.773 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.2729, allocations: 236.1 kB / 343.7 MB, free: 1.539 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.273, allocations: 169.5 kB / 343.9 MB, free: 1.371 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.273, allocations: 8 kB / 343.9 MB, free: 1.363 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2732, allocations: 342.8 kB / 344.2 MB, free: 1.02 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.2735, allocations: 177 kB / 344.4 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.2738, allocations: 278 kB / 344.6 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.2742, allocations: 204.7 kB / 344.8 MB, free: 340 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2742, allocations: 0 / 344.8 MB, free: 340 kB / 270.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001026/0.2752, allocations: 0.5978 MB / 345.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2752, allocations: 4.406 kB / 345.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2753, allocations: 8 kB / 345.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/0.2756, allocations: 88.73 kB / 345.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.2761, allocations: 111.9 kB / 345.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.2777, allocations: 1.663 MB / 347.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.278, allocations: 59.5 kB / 347.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.2781, allocations: 23.98 kB / 347.4 MB, free: 13.64 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002497/0.2783, allocations: 173.7 kB / 347.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.2784, allocations: 31.67 kB / 347.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.2794, allocations: 0.5746 MB / 348.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.2795, allocations: 8 kB / 348.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2795, allocations: 0 / 348.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2795, allocations: 4 kB / 348.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2811, allocations: 1.184 MB / 349.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2811, allocations: 0 / 349.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.2815, allocations: 87.89 kB / 349.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.2817, allocations: 76.8 kB / 349.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.2818, allocations: 8 kB / 349.5 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.2834, allocations: 1.672 MB / 351.2 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2834, allocations: 0 / 351.2 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.2847, allocations: 0.8311 MB / 352 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.2848, allocations: 120.6 kB / 352.2 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.2849, allocations: 8 kB / 352.2 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2851, allocations: 20 kB / 352.2 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.2852, allocations: 36.38 kB / 352.2 MB, free: 8.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.2853, allocations: 16 kB / 352.2 MB, free: 8.551 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.2854, allocations: 151.3 kB / 352.4 MB, free: 8.402 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2854, allocations: 0 / 352.4 MB, free: 8.402 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005958/0.286, allocations: 155.5 kB / 352.5 MB, free: 8.25 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002358/0.2862, allocations: 139.2 kB / 352.7 MB, free: 8.105 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.2874, allocations: 0.6049 MB / 353.3 MB, free: 7.484 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2874, allocations: 4 kB / 353.3 MB, free: 7.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.288, allocations: 397.8 kB / 353.7 MB, free: 7.082 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2883, allocations: 28.06 kB / 353.7 MB, free: 7.055 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2899, allocations: 1.057 MB / 354.8 MB, free: 5.965 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.2904, allocations: 0.8217 MB / 355.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.2906, allocations: 55.25 kB / 355.6 MB, free: 5.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.931e-05/0.2907, allocations: 35.44 kB / 355.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2907, allocations: 0 / 355.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of Templates: time 0.007783/0.2985, allocations: 4.036 MB / 359.7 MB, free: 0.9961 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) Environment - environmentSimulation: