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.001257/0.001257, allocations: 101.4 kB / 16.62 MB, free: 6.812 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.001234/0.001234, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.31/1.31, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001125/0.001125, allocations: 40.22 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1028, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005327/0.1082, allocations: 3.764 MB / 329.9 MB, free: 1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.1109, allocations: 1.442 MB / 331.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.1112, allocations: 12 kB / 331.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.1129, allocations: 0.7083 MB / 332.1 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.114, allocations: 0.5251 MB / 332.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.1147, allocations: 390.9 kB / 333 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.1152, allocations: 493.7 kB / 333.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007412/0.1159, allocations: 0.5139 MB / 334 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.1162, allocations: 227.1 kB / 334.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1165, allocations: 290.8 kB / 334.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.1166, allocations: 44 kB / 334.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.117, allocations: 223.8 kB / 334.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.1171, allocations: 111.6 kB / 334.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1173, allocations: 254.7 kB / 335.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.1179, allocations: 0.697 MB / 335.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.118, allocations: 4 kB / 335.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.118, allocations: 0 / 335.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.118, allocations: 0 / 335.8 MB, free: 11.09 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.002163/0.1201, allocations: 0.9443 MB / 336.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1202, allocations: 15.89 kB / 336.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.1244, allocations: 0.5857 MB / 337.3 MB, free: 9.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1248, allocations: 323.5 kB / 337.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.1249, allocations: 41.69 kB / 337.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.125, allocations: 56.38 kB / 337.7 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.126, allocations: 0.5687 MB / 338.3 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.1261, allocations: 0 / 338.3 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.1261, allocations: 20 kB / 338.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1261, allocations: 19.94 kB / 338.4 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.1272, allocations: 0.6532 MB / 339 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.1304, allocations: 2.055 MB / 341.1 MB, free: 5.594 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.1332, allocations: 3 MB / 344.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.1338, allocations: 278 kB / 344.3 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.1339, allocations: 85.55 kB / 344.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.134, allocations: 39 kB / 344.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.555e-06/0.134, allocations: 3.938 kB / 344.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001829/0.1358, allocations: 0.7466 MB / 345.2 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1359, allocations: 59.78 kB / 345.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1361, allocations: 203.5 kB / 345.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.1362, allocations: 37.7 kB / 345.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1363, allocations: 236.1 kB / 345.7 MB, free: 272 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.1365, allocations: 173.5 kB / 345.9 MB, free: 96 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.1366, allocations: 98.17 kB / 346 MB, free: 15.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1368, allocations: 346.8 kB / 346.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.1371, allocations: 157 kB / 346.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.1375, allocations: 279.7 kB / 346.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/0.1382, allocations: 482.2 kB / 347.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1382, allocations: 0 / 347.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001084/0.1393, allocations: 0.5822 MB / 347.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.1394, allocations: 8 kB / 347.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.1394, allocations: 4 kB / 347.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.1397, allocations: 81.19 kB / 347.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.1402, allocations: 111.8 kB / 348 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.1419, allocations: 1.781 MB / 349.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.1423, allocations: 63.42 kB / 349.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.1423, allocations: 20 kB / 349.9 MB, free: 11.85 MB / 302.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.1425, allocations: 169.7 kB / 350 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.1426, allocations: 35.64 kB / 350.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.1437, allocations: 0.5513 MB / 350.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.1437, allocations: 7.938 kB / 350.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.1437, allocations: 4 kB / 350.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1438, allocations: 3.984 kB / 350.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.1455, allocations: 1.166 MB / 351.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.1455, allocations: 4 kB / 351.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.1458, allocations: 83.83 kB / 351.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.1461, allocations: 80.86 kB / 352 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.1461, allocations: 15.94 kB / 352 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.1478, allocations: 1.77 MB / 353.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1478, allocations: 0 / 353.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.149, allocations: 0.8181 MB / 354.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.1491, allocations: 120.6 kB / 354.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.1492, allocations: 7.984 kB / 354.7 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.1494, allocations: 24 kB / 354.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1495, allocations: 40.44 kB / 354.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.1496, allocations: 16 kB / 354.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1497, allocations: 147.2 kB / 354.9 MB, free: 6.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1497, allocations: 0 / 354.9 MB, free: 6.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000582/0.1503, allocations: 159.5 kB / 355.1 MB, free: 6.375 MB / 302.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.1506, allocations: 131.2 kB / 355.2 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1517, allocations: 0.6088 MB / 355.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1517, allocations: 0 / 355.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.1523, allocations: 390 kB / 356.2 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1527, allocations: 40.31 kB / 356.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.1544, allocations: 1.073 MB / 357.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.1548, allocations: 0.8249 MB / 358.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002352/0.155, allocations: 51.27 kB / 358.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.1551, allocations: 39.42 kB / 358.2 MB, free: 3.137 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1551, allocations: 0 / 358.2 MB, free: 3.137 MB / 302.1 MB Notification: Performance of Templates: time 0.00852/0.1636, allocations: 4.395 MB / 362.6 MB, free: 14.74 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (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)