Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009179/0.0009179, allocations: 99.86 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.001019/0.001019, allocations: 177.3 kB / 15.94 MB, free: 228 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.45/1.45, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004619/0.000462, allocations: 12 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 47.59 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003747/0.237, allocations: 3.335 MB / 329.8 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.2397, allocations: 1.5 MB / 331.3 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.24, allocations: 10.81 kB / 331.3 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.2404, allocations: 136.6 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.2415, allocations: 0.4919 MB / 331.9 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008764/0.2424, allocations: 452.3 kB / 332.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.243, allocations: 395.2 kB / 332.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.2443, allocations: 0.7116 MB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.2447, allocations: 206 kB / 333.7 MB, free: 11.92 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.245, allocations: 264.8 kB / 333.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.2451, allocations: 22.81 kB / 333.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.2455, allocations: 175.1 kB / 334.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2456, allocations: 102.3 kB / 334.2 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.2457, allocations: 119.5 kB / 334.3 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.2464, allocations: 0.6327 MB / 335 MB, free: 10.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.2464, allocations: 0 / 335 MB, free: 10.96 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2464, allocations: 4 kB / 335 MB, free: 10.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2464, allocations: 0 / 335 MB, free: 10.95 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.002195/0.2486, allocations: 0.9212 MB / 335.9 MB, free: 9.98 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2487, allocations: 8.031 kB / 335.9 MB, free: 9.973 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00423/0.2529, allocations: 0.608 MB / 336.5 MB, free: 9.363 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.2535, allocations: 376.2 kB / 336.9 MB, free: 8.957 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.2536, allocations: 53.95 kB / 336.9 MB, free: 8.902 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.2537, allocations: 67.91 kB / 337 MB, free: 8.836 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.255, allocations: 0.8016 MB / 337.8 MB, free: 8.023 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.255, allocations: 4 kB / 337.8 MB, free: 8.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/0.2551, allocations: 24 kB / 337.8 MB, free: 7.996 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.2551, allocations: 30 kB / 337.8 MB, free: 7.965 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.2566, allocations: 0.8433 MB / 338.7 MB, free: 7.125 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.2605, allocations: 2.727 MB / 341.4 MB, free: 4.223 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.2624, allocations: 1.973 MB / 343.4 MB, free: 1.914 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.93e-05/0.2626, allocations: 89.55 kB / 343.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2626, allocations: 35 kB / 343.5 MB, free: 1.766 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 3.035e-06/0.2626, allocations: 0 / 343.5 MB, free: 1.766 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.001918/0.2645, allocations: 0.8445 MB / 344.4 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2646, allocations: 59.84 kB / 344.4 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.2649, allocations: 312.4 kB / 344.7 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.2649, allocations: 33.7 kB / 344.7 MB, free: 484 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.2651, allocations: 292 kB / 345 MB, free: 188 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2653, allocations: 165.6 kB / 345.2 MB, free: 20 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.2653, allocations: 16 kB / 345.2 MB, free: 4 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2654, allocations: 342.8 kB / 345.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.2658, allocations: 201.2 kB / 345.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.2664, allocations: 398.3 kB / 346.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.2668, allocations: 251.6 kB / 346.4 MB, free: 14.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2668, allocations: 0 / 346.4 MB, free: 14.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001316/0.2682, allocations: 0.7081 MB / 347.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008813/0.2691, allocations: 2.355 MB / 349.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2691, allocations: 7.938 kB / 349.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.2694, allocations: 60.83 kB / 349.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.2699, allocations: 135.8 kB / 349.6 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.2715, allocations: 1.612 MB / 351.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.2719, allocations: 79.27 kB / 351.3 MB, free: 9.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.272, allocations: 32 kB / 351.4 MB, free: 9.426 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.272, allocations: 4 kB / 351.4 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/0.2732, allocations: 0.6448 MB / 352 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2732, allocations: 7.953 kB / 352 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.2734, allocations: 56.83 kB / 352.1 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.2739, allocations: 143.7 kB / 352.2 MB, free: 8.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.2751, allocations: 1.52 MB / 353.7 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.2754, allocations: 71.44 kB / 353.8 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.2755, allocations: 31.98 kB / 353.8 MB, free: 6.809 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 (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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002725/0.2758, allocations: 260.9 kB / 354.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.2759, allocations: 43.58 kB / 354.1 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.2771, allocations: 0.6221 MB / 354.8 MB, free: 5.863 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2771, allocations: 4 kB / 354.8 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2771, allocations: 0 / 354.8 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2771, allocations: 7.984 kB / 354.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.2791, allocations: 1.293 MB / 356.1 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2791, allocations: 0 / 356.1 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.2795, allocations: 95.88 kB / 356.2 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.2797, allocations: 52.83 kB / 356.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.2797, allocations: 15.98 kB / 356.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.281, allocations: 1.596 MB / 357.8 MB, free: 2.609 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.281, allocations: 3.938 kB / 357.8 MB, free: 2.605 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.2826, allocations: 0.9247 MB / 358.7 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.2827, allocations: 164.5 kB / 358.9 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.2828, allocations: 8 kB / 358.9 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.2831, allocations: 23.98 kB / 358.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.2832, allocations: 36.39 kB / 359 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.2832, allocations: 19.98 kB / 359 MB, free: 1.395 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.2834, allocations: 211.1 kB / 359.2 MB, free: 1.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2835, allocations: 0 / 359.2 MB, free: 1.191 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009707/0.2844, allocations: 279.1 kB / 359.5 MB, free: 0.918 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 (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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002376/0.2847, allocations: 143.2 kB / 359.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.2866, allocations: 1.116 MB / 360.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2866, allocations: 0 / 360.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.2872, allocations: 393.6 kB / 361.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.2875, allocations: 45 kB / 361.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2893, allocations: 1.213 MB / 362.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.2897, allocations: 0.8525 MB / 363.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001366/0.2911, allocations: 1.095 MB / 364.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2912, allocations: 47.41 kB / 364.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2912, allocations: 0 / 364.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Templates: time 0.009811/0.301, allocations: 5.212 MB / 369.6 MB, free: 6.711 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) Environment - environmentSimulation: