Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0009022/0.0009023, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006396/0.006396, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.325/1.325, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004699/0.00047, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2168, allocations: 47.58 MB / 327 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003783/0.2207, allocations: 3.684 MB / 330.7 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.2238, allocations: 1.614 MB / 332.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.2242, allocations: 11.88 kB / 332.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.2248, allocations: 184.9 kB / 332.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2261, allocations: 0.5172 MB / 333 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2272, allocations: 0.5018 MB / 333.5 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.2278, allocations: 0.557 MB / 334.1 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.2293, allocations: 0.8109 MB / 334.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.2296, allocations: 216.5 kB / 335.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2299, allocations: 282.7 kB / 335.4 MB, free: 10.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.23, allocations: 24 kB / 335.4 MB, free: 10.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.2305, allocations: 211.8 kB / 335.6 MB, free: 10.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.2305, allocations: 107.5 kB / 335.7 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.2308, allocations: 276.2 kB / 336 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008504/0.2316, allocations: 0.7993 MB / 336.8 MB, free: 9.555 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2317, allocations: 0 / 336.8 MB, free: 9.555 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2317, allocations: 0 / 336.8 MB, free: 9.555 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.2317, allocations: 0 / 336.8 MB, free: 9.555 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002333/0.234, allocations: 0.9213 MB / 337.7 MB, free: 8.582 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2341, allocations: 8.031 kB / 337.7 MB, free: 8.574 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.2384, allocations: 0.6207 MB / 338.4 MB, free: 7.953 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.239, allocations: 377.3 kB / 338.7 MB, free: 7.547 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.2391, allocations: 54.38 kB / 338.8 MB, free: 7.492 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.2392, allocations: 64.38 kB / 338.8 MB, free: 7.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.2406, allocations: 0.8133 MB / 339.6 MB, free: 6.605 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.2406, allocations: 7.906 kB / 339.7 MB, free: 6.598 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.2407, allocations: 28 kB / 339.7 MB, free: 6.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.2407, allocations: 22 kB / 339.7 MB, free: 6.547 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.2423, allocations: 0.8511 MB / 340.6 MB, free: 5.699 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/0.246, allocations: 2.727 MB / 343.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.248, allocations: 1.969 MB / 345.3 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.2484, allocations: 262.1 kB / 345.5 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/0.2485, allocations: 89.84 kB / 345.6 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.2486, allocations: 42.94 kB / 345.6 MB, free: 76 kB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 3.095e-06/0.2486, allocations: 0 / 345.6 MB, free: 76 kB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.001932/0.2505, allocations: 0.8442 MB / 346.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2506, allocations: 67.72 kB / 346.5 MB, free: 15.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.2509, allocations: 308.5 kB / 346.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.251, allocations: 33.7 kB / 346.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.2511, allocations: 287.7 kB / 347.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2512, allocations: 169.5 kB / 347.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.2513, allocations: 49.69 kB / 347.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.2516, allocations: 346.8 kB / 347.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.252, allocations: 205.2 kB / 347.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.2526, allocations: 402.3 kB / 348.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.2535, allocations: 0.635 MB / 348.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2535, allocations: 0 / 348.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001319/0.2549, allocations: 0.7121 MB / 349.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.2551, allocations: 263.6 kB / 349.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2551, allocations: 8 kB / 349.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.2555, allocations: 56.83 kB / 350 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.256, allocations: 143.8 kB / 350.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.2578, allocations: 1.596 MB / 351.7 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.2583, allocations: 79.2 kB / 351.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.2584, allocations: 31.98 kB / 351.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.2584, allocations: 4 kB / 351.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001283/0.2597, allocations: 0.6522 MB / 352.5 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2597, allocations: 4 kB / 352.5 MB, free: 8.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.2599, allocations: 60.72 kB / 352.5 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.2603, allocations: 132.3 kB / 352.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.2616, allocations: 1.511 MB / 354.2 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.262, allocations: 71.31 kB / 354.3 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.262, allocations: 35.98 kB / 354.3 MB, free: 6.801 MB / 286.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.0004109/0.2625, allocations: 260.9 kB / 354.5 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.2626, allocations: 35.62 kB / 354.6 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.2639, allocations: 0.6259 MB / 355.2 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.2639, allocations: 4 kB / 355.2 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2639, allocations: 0 / 355.2 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2639, allocations: 3.984 kB / 355.2 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.2659, allocations: 1.305 MB / 356.5 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2659, allocations: 0 / 356.5 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.2663, allocations: 95.88 kB / 356.6 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.2665, allocations: 52.83 kB / 356.7 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.2666, allocations: 15.98 kB / 356.7 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.2679, allocations: 1.588 MB / 358.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2679, allocations: 0 / 358.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.2695, allocations: 0.9365 MB / 359.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.2696, allocations: 152.5 kB / 359.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.2697, allocations: 15.94 kB / 359.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.27, allocations: 23.98 kB / 359.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.2701, allocations: 40.27 kB / 359.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.2702, allocations: 19.98 kB / 359.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.2704, allocations: 215.1 kB / 359.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2704, allocations: 0 / 359.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001007/0.2714, allocations: 279.1 kB / 359.9 MB, free: 0.9023 MB / 286.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.0002112/0.2716, allocations: 131.2 kB / 360.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.2735, allocations: 1.131 MB / 361.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2735, allocations: 0 / 361.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.2741, allocations: 393.7 kB / 361.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.2746, allocations: 45.11 kB / 361.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.2764, allocations: 1.295 MB / 362.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.2767, allocations: 0.8447 MB / 363.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001363/0.2781, allocations: 1.092 MB / 364.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.2783, allocations: 51.42 kB / 364.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2783, allocations: 0 / 364.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Templates: time 0.01038/0.2887, allocations: 5.365 MB / 370.3 MB, free: 6.461 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)