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.0008111/0.000811, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008534/0.0008534, allocations: 172.7 kB / 15.95 MB, free: 208 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.495/1.495, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.0006193/0.0006193, allocations: 16 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3087, allocations: 47.58 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003835/0.3126, allocations: 3.171 MB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.3154, allocations: 1.339 MB / 331 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.3156, allocations: 10.03 kB / 331 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.3161, allocations: 130.3 kB / 331.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.3173, allocations: 478 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.318, allocations: 336 kB / 331.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.3185, allocations: 457.4 kB / 332.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.3198, allocations: 0.6439 MB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.3201, allocations: 175.8 kB / 333.2 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.3204, allocations: 244.1 kB / 333.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.3205, allocations: 21.28 kB / 333.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.321, allocations: 171.5 kB / 333.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.3211, allocations: 91.28 kB / 333.7 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3212, allocations: 103.6 kB / 333.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.3218, allocations: 0.5289 MB / 334.3 MB, free: 11.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3219, allocations: 3.984 kB / 334.3 MB, free: 11.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3219, allocations: 1.094 kB / 334.3 MB, free: 11.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3219, allocations: 0 / 334.3 MB, free: 11.51 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.001907/0.3238, allocations: 0.8341 MB / 335.2 MB, free: 10.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3239, allocations: 11.97 kB / 335.2 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/0.3277, allocations: 0.5963 MB / 335.8 MB, free: 10.13 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.3282, allocations: 310.4 kB / 336.1 MB, free: 9.785 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.3282, allocations: 45.31 kB / 336.1 MB, free: 9.742 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/0.3283, allocations: 56 kB / 336.2 MB, free: 9.688 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3293, allocations: 0.5531 MB / 336.7 MB, free: 9.125 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.3294, allocations: 3.906 kB / 336.7 MB, free: 9.121 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.3294, allocations: 20 kB / 336.8 MB, free: 9.102 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3294, allocations: 16 kB / 336.8 MB, free: 9.086 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3305, allocations: 0.6453 MB / 337.4 MB, free: 8.441 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.3335, allocations: 2.058 MB / 339.5 MB, free: 6.246 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.3362, allocations: 2.997 MB / 342.5 MB, free: 2.688 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.3366, allocations: 226.1 kB / 342.7 MB, free: 2.465 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.3367, allocations: 93.52 kB / 342.8 MB, free: 2.355 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3368, allocations: 39 kB / 342.8 MB, free: 2.305 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.895e-06/0.3368, allocations: 0 / 342.8 MB, free: 2.305 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001924/0.3387, allocations: 0.8051 MB / 343.6 MB, free: 1.473 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3388, allocations: 55.84 kB / 343.7 MB, free: 1.406 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.339, allocations: 217.5 kB / 343.9 MB, free: 1.188 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3391, allocations: 29.7 kB / 343.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.3393, allocations: 240.1 kB / 344.2 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3394, allocations: 169.5 kB / 344.3 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.3394, allocations: 8 kB / 344.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3396, allocations: 338.8 kB / 344.7 MB, free: 408 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.3399, allocations: 161 kB / 344.8 MB, free: 248 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3403, allocations: 282 kB / 345.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.3407, allocations: 196.7 kB / 345.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3407, allocations: 4 kB / 345.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001032/0.3417, allocations: 0.5901 MB / 345.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3418, allocations: 8 kB / 345.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3418, allocations: 0 / 345.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.3421, allocations: 101 kB / 346 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.3426, allocations: 107.8 kB / 346.1 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.3445, allocations: 1.85 MB / 347.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.3448, allocations: 55.44 kB / 348 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.3449, allocations: 23.98 kB / 348 MB, free: 12.85 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.0002778/0.3452, allocations: 173.7 kB / 348.2 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3452, allocations: 27.72 kB / 348.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3463, allocations: 0.5591 MB / 348.8 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3464, allocations: 11.95 kB / 348.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3464, allocations: 0 / 348.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3464, allocations: 3.984 kB / 348.8 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.3481, allocations: 1.165 MB / 350 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3481, allocations: 0 / 350 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.3484, allocations: 79.91 kB / 350 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/0.3487, allocations: 88.73 kB / 350.1 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.3487, allocations: 8 kB / 350.1 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.3506, allocations: 1.843 MB / 352 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3506, allocations: 7.984 kB / 352 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.3518, allocations: 0.8038 MB / 352.8 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.3519, allocations: 120.7 kB / 352.9 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.352, allocations: 4 kB / 352.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.3522, allocations: 23.98 kB / 352.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.3523, allocations: 36.38 kB / 353 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.3523, allocations: 19.95 kB / 353 MB, free: 7.629 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.3525, allocations: 148.1 kB / 353.1 MB, free: 7.484 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3525, allocations: 0 / 353.1 MB, free: 7.484 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007157/0.3532, allocations: 155.6 kB / 353.3 MB, free: 7.332 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.0003161/0.3535, allocations: 131.2 kB / 353.4 MB, free: 7.195 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3546, allocations: 0.5974 MB / 354 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3547, allocations: 0 / 354 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.3552, allocations: 397.4 kB / 354.4 MB, free: 6.184 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.3556, allocations: 36.17 kB / 354.4 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3571, allocations: 1.058 MB / 355.5 MB, free: 5.062 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.3575, allocations: 0.8175 MB / 356.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002186/0.3578, allocations: 51.27 kB / 356.4 MB, free: 4.176 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.3579, allocations: 35.42 kB / 356.4 MB, free: 4.141 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3579, allocations: 0 / 356.4 MB, free: 4.141 MB / 286.1 MB Notification: Performance of Templates: time 0.008457/0.3663, allocations: 4 MB / 360.4 MB, free: 140 kB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (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)