Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007854/0.0007856, allocations: 92.05 kB / 16.65 MB, free: 6.59 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.0009015/0.0009015, allocations: 180.4 kB / 17.56 MB, free: 6.203 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.41/1.41, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004678/0.000468, allocations: 16 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.004232/0.1141, allocations: 3.679 MB / 332 MB, free: 44 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.1172, allocations: 1.609 MB / 333.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.1174, allocations: 15.94 kB / 333.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.118, allocations: 183.2 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.1194, allocations: 0.5291 MB / 334.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1205, allocations: 0.5025 MB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006666/0.1211, allocations: 0.5485 MB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.1226, allocations: 0.8031 MB / 336.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.1229, allocations: 222.9 kB / 336.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1232, allocations: 282.7 kB / 336.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.1233, allocations: 31.88 kB / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1237, allocations: 207.8 kB / 336.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.1238, allocations: 95.53 kB / 337 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.124, allocations: 284.2 kB / 337.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007822/0.1248, allocations: 0.806 MB / 338.1 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1248, allocations: 4 kB / 338.1 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1248, allocations: 0 / 338.1 MB, free: 9.895 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.1249, allocations: 0 / 338.1 MB, free: 9.895 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002262/0.1271, allocations: 0.9213 MB / 339 MB, free: 8.922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1272, allocations: 8.031 kB / 339 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.1315, allocations: 0.6051 MB / 339.6 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.1322, allocations: 381.3 kB / 340 MB, free: 7.898 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.1322, allocations: 50.38 kB / 340.1 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1324, allocations: 72.28 kB / 340.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1338, allocations: 0.8132 MB / 340.9 MB, free: 6.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.1338, allocations: 4 kB / 340.9 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.1339, allocations: 32 kB / 341 MB, free: 6.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.1339, allocations: 22 kB / 341 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.1355, allocations: 0.8433 MB / 341.8 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.1395, allocations: 2.743 MB / 344.6 MB, free: 3.133 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.1414, allocations: 1.969 MB / 346.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.1419, allocations: 254.1 kB / 346.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.665e-05/0.142, allocations: 89.53 kB / 346.9 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1421, allocations: 43 kB / 346.9 MB, free: 432 kB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.1421, allocations: 0 / 346.9 MB, free: 432 kB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001897/0.144, allocations: 0.8441 MB / 347.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.144, allocations: 63.78 kB / 347.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.1444, allocations: 308.4 kB / 348.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.1444, allocations: 37.7 kB / 348.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.1446, allocations: 288 kB / 348.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.1448, allocations: 165.6 kB / 348.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.1449, allocations: 53.69 kB / 348.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.145, allocations: 346.8 kB / 349 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.1454, allocations: 205.2 kB / 349.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.146, allocations: 402.3 kB / 349.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.147, allocations: 0.6311 MB / 350.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.147, allocations: 0 / 350.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001316/0.1483, allocations: 0.7124 MB / 350.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.1485, allocations: 267.4 kB / 351.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1485, allocations: 8 kB / 351.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.1488, allocations: 56.83 kB / 351.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.1493, allocations: 143.7 kB / 351.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.1508, allocations: 1.596 MB / 353 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.1513, allocations: 83.45 kB / 353.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.1514, allocations: 35.92 kB / 353.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.1514, allocations: 4 kB / 353.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/0.1526, allocations: 0.6485 MB / 353.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1526, allocations: 8 kB / 353.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.1527, allocations: 56.83 kB / 353.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.1532, allocations: 131.8 kB / 354 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1545, allocations: 1.515 MB / 355.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.1549, allocations: 67.44 kB / 355.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.1549, allocations: 31.98 kB / 355.6 MB, free: 7.148 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (69): * Single equations (assignments): 68 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000375/0.1553, allocations: 260.9 kB / 355.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.1554, allocations: 39.53 kB / 355.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.1568, allocations: 0.622 MB / 356.5 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1568, allocations: 4 kB / 356.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1568, allocations: 0 / 356.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1568, allocations: 3.984 kB / 356.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.1591, allocations: 1.312 MB / 357.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1591, allocations: 4 kB / 357.8 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/0.1595, allocations: 95.81 kB / 357.9 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.1597, allocations: 52.83 kB / 358 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.1597, allocations: 15.98 kB / 358 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.161, allocations: 1.58 MB / 359.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.161, allocations: 0 / 359.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.1626, allocations: 0.9326 MB / 360.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1628, allocations: 156.5 kB / 360.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.1629, allocations: 12 kB / 360.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.1631, allocations: 23.98 kB / 360.7 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1633, allocations: 36.45 kB / 360.7 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.1633, allocations: 23.98 kB / 360.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.1636, allocations: 211.1 kB / 360.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1636, allocations: 0 / 360.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001096/0.1647, allocations: 279 kB / 361.2 MB, free: 1.254 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002955/0.165, allocations: 131.2 kB / 361.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.1671, allocations: 1.135 MB / 362.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1671, allocations: 0 / 362.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006064/0.1677, allocations: 397 kB / 362.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.1682, allocations: 57.09 kB / 362.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.1702, allocations: 1.291 MB / 364.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1706, allocations: 0.8447 MB / 365.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001459/0.1721, allocations: 1.095 MB / 366.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.1722, allocations: 51.42 kB / 366.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1722, allocations: 0 / 366.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of Templates: time 0.01115/0.1834, allocations: 5.35 MB / 371.6 MB, free: 6.82 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)