Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.004959/0.004959, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001124/0.001124, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.299/1.299, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001347/0.001347, allocations: 51.92 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.0933, allocations: 46.61 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004625/0.09798, allocations: 3.745 MB / 376.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2002/0.2982, allocations: 1.463 MB / 378.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.2984, allocations: 9.625 kB / 378.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.3001, allocations: 0.7528 MB / 379.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.3013, allocations: 0.5674 MB / 379.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.302, allocations: 423.7 kB / 380.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.3025, allocations: 498.6 kB / 380.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.3033, allocations: 472.9 kB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.3036, allocations: 227.7 kB / 381.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.3039, allocations: 291.6 kB / 381.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.304, allocations: 45.59 kB / 381.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.3044, allocations: 207.5 kB / 381.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.3045, allocations: 122.2 kB / 381.9 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.3047, allocations: 253.4 kB / 382.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.3055, allocations: 0.7135 MB / 382.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3055, allocations: 0 / 382.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3056, allocations: 0 / 382.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.3056, allocations: 0 / 382.9 MB, free: 8.824 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.001931/0.3075, allocations: 0.9451 MB / 383.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3076, allocations: 13.7 kB / 383.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/0.3119, allocations: 0.5852 MB / 384.4 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.3125, allocations: 320.2 kB / 384.7 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.3125, allocations: 40.94 kB / 384.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.545e-05/0.3126, allocations: 58.44 kB / 384.8 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3137, allocations: 0.5664 MB / 385.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.3137, allocations: 4 kB / 385.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.3138, allocations: 26.03 kB / 385.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3138, allocations: 13.72 kB / 385.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.3151, allocations: 0.644 MB / 386.1 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.3185, allocations: 2.044 MB / 388.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.3206, allocations: 3.008 MB / 391.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.3211, allocations: 277.4 kB / 391.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.3212, allocations: 91.53 kB / 391.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3212, allocations: 39 kB / 391.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.615e-06/0.3212, allocations: 4 kB / 391.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001672/0.3229, allocations: 0.743 MB / 392.3 MB, free: 2.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.323, allocations: 65.64 kB / 392.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3232, allocations: 204.3 kB / 392.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3232, allocations: 35.08 kB / 392.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3233, allocations: 237.4 kB / 392.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.3234, allocations: 167.6 kB / 393 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.3236, allocations: 97.2 kB / 393.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.3236, allocations: 338.3 kB / 393.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.3239, allocations: 157.1 kB / 393.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.3243, allocations: 289.9 kB / 393.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.3249, allocations: 482.7 kB / 394.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.325, allocations: 5.188 kB / 394.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001065/0.326, allocations: 0.588 MB / 394.9 MB, free: 472 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3261, allocations: 8.266 kB / 394.9 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3261, allocations: 3.625 kB / 394.9 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.3264, allocations: 82.25 kB / 395 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.3269, allocations: 111 kB / 395.1 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.3286, allocations: 1.774 MB / 396.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.3289, allocations: 51.23 kB / 396.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.329, allocations: 22.58 kB / 397 MB, free: 14.8 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.0002275/0.3292, allocations: 172.2 kB / 397.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.3293, allocations: 36.94 kB / 397.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.3304, allocations: 0.5501 MB / 397.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3304, allocations: 9.719 kB / 397.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3304, allocations: 1.688 kB / 397.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.3304, allocations: 2.766 kB / 397.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.3324, allocations: 1.167 MB / 398.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3324, allocations: 1.812 kB / 398.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.3328, allocations: 81.52 kB / 399 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.3331, allocations: 77.86 kB / 399.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3331, allocations: 21.91 kB / 399.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.335, allocations: 1.771 MB / 400.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3351, allocations: 0 / 400.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3366, allocations: 0.8185 MB / 401.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3367, allocations: 116.4 kB / 401.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.3368, allocations: 11.91 kB / 401.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.337, allocations: 20.72 kB / 401.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3371, allocations: 38.14 kB / 401.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.3372, allocations: 15.62 kB / 401.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.3374, allocations: 144.6 kB / 402 MB, free: 11.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3374, allocations: 1.281 kB / 402 MB, free: 11.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000679/0.3381, allocations: 159.6 kB / 402.2 MB, free: 11.32 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.0002824/0.3383, allocations: 134.5 kB / 402.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.3395, allocations: 0.5953 MB / 402.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3396, allocations: 5.438 kB / 402.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.3402, allocations: 384.9 kB / 403.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3406, allocations: 40.42 kB / 403.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3424, allocations: 0.8582 MB / 404.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.3431, allocations: 0.8145 MB / 405 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.3433, allocations: 54.66 kB / 405 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3434, allocations: 33.48 kB / 405.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3434, allocations: 0 / 405.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of Templates: time 0.01005/0.3535, allocations: 4.466 MB / 409.5 MB, free: 7.695 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)