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.001162/0.001162, allocations: 112.7 kB / 17.06 MB, free: 5.973 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.001126/0.001126, allocations: 200 kB / 18.01 MB, free: 5.055 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.327/1.327, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001373/0.001373, allocations: 51.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1043, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004938/0.1093, allocations: 3.745 MB / 378.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2397/0.349, allocations: 1.461 MB / 379.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.3493, allocations: 8.781 kB / 379.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.3511, allocations: 0.7564 MB / 380.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3524, allocations: 0.5671 MB / 381 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.3532, allocations: 422.9 kB / 381.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007011/0.3539, allocations: 0.4886 MB / 381.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009937/0.3549, allocations: 465.9 kB / 382.4 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000491/0.3554, allocations: 229.1 kB / 382.6 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.3558, allocations: 289.3 kB / 382.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.3559, allocations: 46.88 kB / 382.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.3565, allocations: 211.2 kB / 383.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3566, allocations: 118.7 kB / 383.2 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.3569, allocations: 251.6 kB / 383.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009944/0.3579, allocations: 0.7155 MB / 384.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3579, allocations: 0 / 384.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3579, allocations: 1.219 kB / 384.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3579, allocations: 0 / 384.2 MB, free: 8.832 MB / 318.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.002252/0.3602, allocations: 0.9436 MB / 385.2 MB, free: 8.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3602, allocations: 13.64 kB / 385.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.3647, allocations: 0.5874 MB / 385.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007199/0.3654, allocations: 318.4 kB / 386.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.3655, allocations: 41.12 kB / 386.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3656, allocations: 59.97 kB / 386.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3669, allocations: 0.566 MB / 386.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.3669, allocations: 9.109 kB / 386.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.367, allocations: 26.31 kB / 386.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.367, allocations: 14.22 kB / 386.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.3683, allocations: 0.6386 MB / 387.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.3719, allocations: 2.043 MB / 389.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.3743, allocations: 3.006 MB / 392.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.3748, allocations: 274.4 kB / 392.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/0.3749, allocations: 91.45 kB / 392.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.375, allocations: 46.12 kB / 392.9 MB, free: 2.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 3.376e-06/0.375, allocations: 3.938 kB / 392.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001839/0.3768, allocations: 0.743 MB / 393.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.3769, allocations: 60.81 kB / 393.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3771, allocations: 204.2 kB / 393.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3771, allocations: 35.61 kB / 393.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3773, allocations: 237.1 kB / 394.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3774, allocations: 167.6 kB / 394.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3775, allocations: 94.83 kB / 394.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.3776, allocations: 337.4 kB / 394.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.3779, allocations: 158.6 kB / 394.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.3784, allocations: 293.7 kB / 395.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.3792, allocations: 478.9 kB / 395.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3792, allocations: 1.984 kB / 395.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001284/0.3805, allocations: 0.5877 MB / 396.2 MB, free: 488 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3805, allocations: 6.719 kB / 396.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3805, allocations: 4.125 kB / 396.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.381, allocations: 86.39 kB / 396.3 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.3815, allocations: 112.6 kB / 396.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.3837, allocations: 1.77 MB / 398.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.3841, allocations: 54.33 kB / 398.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.3842, allocations: 21.98 kB / 398.3 MB, free: 14.82 MB / 334.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.0002906/0.3845, allocations: 172.2 kB / 398.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.3846, allocations: 38.72 kB / 398.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.3858, allocations: 0.5512 MB / 399 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3858, allocations: 5.688 kB / 399 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3858, allocations: 2.156 kB / 399 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3858, allocations: 3.234 kB / 399 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.3877, allocations: 1.171 MB / 400.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3877, allocations: 0 / 400.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.3881, allocations: 85.91 kB / 400.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002965/0.3884, allocations: 75.3 kB / 400.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.3884, allocations: 17.03 kB / 400.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.3903, allocations: 1.768 MB / 402.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3903, allocations: 1.422 kB / 402.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.3918, allocations: 0.8196 MB / 403 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3919, allocations: 112.5 kB / 403.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.3919, allocations: 13.77 kB / 403.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.3922, allocations: 19.06 kB / 403.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3923, allocations: 39.52 kB / 403.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.3924, allocations: 16.2 kB / 403.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.3925, allocations: 144.2 kB / 403.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3925, allocations: 1.094 kB / 403.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006652/0.3932, allocations: 155.7 kB / 403.5 MB, free: 11.34 MB / 334.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.0002474/0.3935, allocations: 137.3 kB / 403.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.3947, allocations: 0.6005 MB / 404.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3947, allocations: 0 / 404.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.3954, allocations: 380.8 kB / 404.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3959, allocations: 53.48 kB / 404.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3976, allocations: 0.8589 MB / 405.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.3981, allocations: 0.8145 MB / 406.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.3983, allocations: 53.83 kB / 406.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.3984, allocations: 35.27 kB / 406.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3984, allocations: 0 / 406.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of Templates: time 0.00956/0.408, allocations: 4.463 MB / 410.9 MB, free: 7.711 MB / 334.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)