Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 100.2 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.001048/0.001048, allocations: 177.3 kB / 15.95 MB, free: 216 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.414/1.414, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0007166/0.0007169, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3113, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004/0.3153, allocations: 3.016 MB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.3182, allocations: 1.362 MB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004951/0.3188, allocations: 8.5 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.3194, allocations: 123.7 kB / 331 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.321, allocations: 485.4 kB / 331.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.3219, allocations: 353.1 kB / 331.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000798/0.3227, allocations: 330.8 kB / 332.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.324, allocations: 0.6369 MB / 332.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.3244, allocations: 180.6 kB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.3247, allocations: 231.5 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.3247, allocations: 21.28 kB / 333.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.3252, allocations: 156.6 kB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.3253, allocations: 86.33 kB / 333.4 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.3254, allocations: 104.6 kB / 333.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.326, allocations: 0.5177 MB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.326, allocations: 0 / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.326, allocations: 1.25 kB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.326, allocations: 0 / 334 MB, free: 11.76 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001972/0.328, allocations: 0.8407 MB / 334.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3281, allocations: 8.031 kB / 334.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004037/0.3321, allocations: 0.5964 MB / 335.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.3326, allocations: 306.4 kB / 335.8 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.3326, allocations: 45.31 kB / 335.8 MB, free: 10.03 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.3327, allocations: 55.98 kB / 335.9 MB, free: 9.977 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.3337, allocations: 0.5608 MB / 336.4 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3338, allocations: 3.906 kB / 336.4 MB, free: 9.402 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.3338, allocations: 20 kB / 336.4 MB, free: 9.383 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3338, allocations: 16 kB / 336.5 MB, free: 9.367 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3349, allocations: 0.6415 MB / 337.1 MB, free: 8.727 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.338, allocations: 2.046 MB / 339.1 MB, free: 6.543 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.3407, allocations: 3.005 MB / 342.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.525e-05/0.3408, allocations: 101.5 kB / 342.3 MB, free: 2.859 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3409, allocations: 31 kB / 342.3 MB, free: 2.82 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.265e-06/0.3409, allocations: 4 kB / 342.3 MB, free: 2.816 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001916/0.3428, allocations: 0.8016 MB / 343.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3428, allocations: 59.84 kB / 343.1 MB, free: 1.914 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.343, allocations: 209.5 kB / 343.3 MB, free: 1.703 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3431, allocations: 37.64 kB / 343.4 MB, free: 1.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3432, allocations: 236.1 kB / 343.6 MB, free: 1.426 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3434, allocations: 169.5 kB / 343.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.3434, allocations: 8 kB / 343.8 MB, free: 1.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3435, allocations: 342.8 kB / 344.1 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.3438, allocations: 165 kB / 344.3 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.3442, allocations: 277.9 kB / 344.6 MB, free: 440 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.3445, allocations: 192.8 kB / 344.7 MB, free: 248 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3445, allocations: 0 / 344.7 MB, free: 248 kB / 270.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009963/0.3455, allocations: 0.5938 MB / 345.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3456, allocations: 7.984 kB / 345.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3456, allocations: 4.375 kB / 345.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/0.3459, allocations: 92.75 kB / 345.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.3463, allocations: 107.9 kB / 345.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.3483, allocations: 1.87 MB / 347.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.3486, allocations: 55.42 kB / 347.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.3487, allocations: 23.98 kB / 347.5 MB, free: 13.35 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.3489, allocations: 177.7 kB / 347.7 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.3489, allocations: 23.72 kB / 347.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.35, allocations: 0.5668 MB / 348.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.35, allocations: 4 kB / 348.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.35, allocations: 4.141 kB / 348.3 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.35, allocations: 7.984 kB / 348.3 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.3516, allocations: 1.161 MB / 349.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3516, allocations: 0 / 349.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.3519, allocations: 83.89 kB / 349.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.3522, allocations: 80.81 kB / 349.6 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.3522, allocations: 19.98 kB / 349.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.3539, allocations: 1.862 MB / 351.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.354, allocations: 0 / 351.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.3552, allocations: 0.8116 MB / 352.3 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.3553, allocations: 116.6 kB / 352.4 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.3553, allocations: 8 kB / 352.4 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3556, allocations: 23.98 kB / 352.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.3556, allocations: 36.39 kB / 352.5 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.3557, allocations: 12 kB / 352.5 MB, free: 8.105 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3558, allocations: 152.1 kB / 352.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3558, allocations: 4.062 kB / 352.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006504/0.3565, allocations: 159.6 kB / 352.8 MB, free: 7.797 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 (44): * Single equations (assignments): 43 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002556/0.3567, allocations: 135.1 kB / 352.9 MB, free: 7.656 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.3578, allocations: 0.5933 MB / 353.5 MB, free: 7.047 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3578, allocations: 0 / 353.5 MB, free: 7.047 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.3584, allocations: 393.8 kB / 353.9 MB, free: 6.652 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3587, allocations: 24.31 kB / 353.9 MB, free: 6.629 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3602, allocations: 1.042 MB / 355 MB, free: 5.555 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3606, allocations: 0.8253 MB / 355.8 MB, free: 4.707 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.3608, allocations: 55.25 kB / 355.8 MB, free: 4.656 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.3609, allocations: 31.44 kB / 355.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3609, allocations: 0 / 355.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of Templates: time 0.008924/0.3698, allocations: 3.981 MB / 359.9 MB, free: 0.6406 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) Environment - environmentSimulation: