Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001404/0.001404, allocations: 96.72 kB / 16.3 MB, free: 5.656 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.00142/0.00142, allocations: 183.4 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.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.0005972/0.0005975, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.114, allocations: 47.57 MB / 327.7 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004171/0.1182, allocations: 3.028 MB / 330.7 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.121, allocations: 1.357 MB / 332.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.1215, allocations: 16 kB / 332.1 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.1221, allocations: 123.3 kB / 332.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.1236, allocations: 482.6 kB / 332.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008825/0.1245, allocations: 350.9 kB / 333 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007949/0.1253, allocations: 339 kB / 333.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.1269, allocations: 0.6879 MB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.1273, allocations: 183.3 kB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.1278, allocations: 231.1 kB / 334.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.1279, allocations: 28 kB / 334.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.1284, allocations: 159.8 kB / 334.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.1285, allocations: 79.66 kB / 334.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.1287, allocations: 109.4 kB / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009345/0.1297, allocations: 0.5223 MB / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1297, allocations: 0 / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.1297, allocations: 0 / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.1297, allocations: 0 / 335.3 MB, free: 12.39 MB / 286.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.002432/0.1322, allocations: 0.8427 MB / 336.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1322, allocations: 15.97 kB / 336.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.1364, allocations: 0.5964 MB / 336.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.137, allocations: 314.4 kB / 337.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.1371, allocations: 41.31 kB / 337.1 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.1372, allocations: 59.91 kB / 337.2 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1384, allocations: 0.5648 MB / 337.8 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1384, allocations: 0 / 337.8 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.1385, allocations: 28 kB / 337.8 MB, free: 9.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.1385, allocations: 12 kB / 337.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1397, allocations: 0.6493 MB / 338.5 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.1435, allocations: 2.052 MB / 340.5 MB, free: 7.004 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.1464, allocations: 2.994 MB / 343.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.1466, allocations: 97.52 kB / 343.6 MB, free: 3.332 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.1466, allocations: 39 kB / 343.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.445e-06/0.1466, allocations: 3.938 kB / 343.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001806/0.1484, allocations: 0.7743 MB / 344.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1485, allocations: 59.84 kB / 344.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.1487, allocations: 199.5 kB / 344.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.1488, allocations: 29.7 kB / 344.7 MB, free: 2.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.149, allocations: 240.1 kB / 344.9 MB, free: 1.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.1491, allocations: 169.5 kB / 345.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.1491, allocations: 12 kB / 345.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1493, allocations: 342.8 kB / 345.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.1496, allocations: 169 kB / 345.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.1501, allocations: 286 kB / 345.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.1505, allocations: 208.7 kB / 346.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.1505, allocations: 0 / 346.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001137/0.1516, allocations: 0.606 MB / 346.7 MB, free: 104 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1517, allocations: 8 kB / 346.7 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1517, allocations: 7.984 kB / 346.7 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/0.1521, allocations: 76.8 kB / 346.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.1525, allocations: 119.8 kB / 346.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.1542, allocations: 1.667 MB / 348.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.1546, allocations: 59.36 kB / 348.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.1546, allocations: 20 kB / 348.6 MB, free: 14.02 MB / 302.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.0002396/0.1548, allocations: 169.7 kB / 348.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.1549, allocations: 31.73 kB / 348.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.156, allocations: 0.5707 MB / 349.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1561, allocations: 4 kB / 349.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1561, allocations: 4 kB / 349.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1561, allocations: 3.984 kB / 349.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.1578, allocations: 1.192 MB / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1578, allocations: 0 / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.1582, allocations: 87.89 kB / 350.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.1584, allocations: 72.81 kB / 350.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.1585, allocations: 16 kB / 350.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.1601, allocations: 1.668 MB / 352.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1601, allocations: 0 / 352.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1614, allocations: 0.835 MB / 353.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/0.1615, allocations: 112.7 kB / 353.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.1616, allocations: 8 kB / 353.4 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.1618, allocations: 28.05 kB / 353.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.1619, allocations: 36.33 kB / 353.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.162, allocations: 19.98 kB / 353.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1621, allocations: 143.3 kB / 353.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.1621, allocations: 0 / 353.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000588/0.1627, allocations: 159.5 kB / 353.8 MB, free: 8.621 MB / 302.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.0002679/0.163, allocations: 131.2 kB / 353.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.1642, allocations: 0.6127 MB / 354.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1642, allocations: 0.8125 kB / 354.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.1648, allocations: 396.9 kB / 354.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1651, allocations: 24.17 kB / 354.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1666, allocations: 1.05 MB / 356 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.167, allocations: 0.8295 MB / 356.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.1673, allocations: 51.27 kB / 356.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.1674, allocations: 39.42 kB / 356.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1674, allocations: 0 / 356.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of Templates: time 0.009328/0.1767, allocations: 4.041 MB / 361 MB, free: 1.375 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) Environment - environmentSimulation: