Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001039/0.001039, allocations: 110.5 kB / 17.06 MB, free: 6.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.001066/0.001066, allocations: 198.9 kB / 18 MB, free: 5.172 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.334/1.334, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001273/0.001273, allocations: 51.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004957/0.1075, allocations: 3.753 MB / 378.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2279/0.3354, allocations: 1.457 MB / 379.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.3358, allocations: 8.875 kB / 379.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.3376, allocations: 0.7498 MB / 380.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.3389, allocations: 0.5652 MB / 381 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3399, allocations: 424.6 kB / 381.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007429/0.3406, allocations: 495.4 kB / 381.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.3417, allocations: 388.1 kB / 382.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/0.3422, allocations: 214.9 kB / 382.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.3426, allocations: 285.7 kB / 382.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.3427, allocations: 42.75 kB / 382.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.3432, allocations: 208.7 kB / 383 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.3433, allocations: 115.1 kB / 383.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.3436, allocations: 243.7 kB / 383.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3446, allocations: 0.7048 MB / 384.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3447, allocations: 0.6094 kB / 384.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3447, allocations: 0 / 384.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.3447, allocations: 0 / 384.1 MB, free: 8.895 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.002351/0.347, allocations: 0.937 MB / 385 MB, free: 8.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.3471, allocations: 10.58 kB / 385 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.3515, allocations: 0.5825 MB / 385.6 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.3522, allocations: 313 kB / 385.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.3522, allocations: 48.81 kB / 386 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3524, allocations: 54.88 kB / 386 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3535, allocations: 0.5548 MB / 386.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.3536, allocations: 1.828 kB / 386.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.3536, allocations: 24.81 kB / 386.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.3537, allocations: 14.12 kB / 386.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.355, allocations: 0.6367 MB / 387.2 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.3586, allocations: 2.03 MB / 389.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.3607, allocations: 3.018 MB / 392.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.3611, allocations: 224.4 kB / 392.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.589e-05/0.3612, allocations: 96.17 kB / 392.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.3612, allocations: 41.56 kB / 392.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.3612, allocations: 1.062 kB / 392.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002067/0.3633, allocations: 0.7874 MB / 393.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3633, allocations: 58 kB / 393.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.3636, allocations: 200.6 kB / 393.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.3636, allocations: 35.8 kB / 393.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3638, allocations: 239.2 kB / 394 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.364, allocations: 164.8 kB / 394.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.3641, allocations: 102.7 kB / 394.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3643, allocations: 341.1 kB / 394.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.3647, allocations: 159 kB / 394.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.3651, allocations: 277.3 kB / 395 MB, free: 1.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/0.3658, allocations: 464.7 kB / 395.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3658, allocations: 1.188 kB / 395.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001108/0.367, allocations: 0.5833 MB / 396 MB, free: 0.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.367, allocations: 6.141 kB / 396 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.367, allocations: 7.469 kB / 396 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.3674, allocations: 91.56 kB / 396.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.3679, allocations: 111.3 kB / 396.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.37, allocations: 2.041 MB / 398.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.3703, allocations: 52.12 kB / 398.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.3704, allocations: 20.48 kB / 398.3 MB, free: 14.7 MB / 334.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 (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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.3707, allocations: 177.1 kB / 398.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.3708, allocations: 28.03 kB / 398.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.372, allocations: 0.5511 MB / 399.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.372, allocations: 10.59 kB / 399.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.372, allocations: 0.75 kB / 399.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3721, allocations: 3.547 kB / 399.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.3742, allocations: 1.137 MB / 400.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3742, allocations: 0.7031 kB / 400.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.3746, allocations: 83.05 kB / 400.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003082/0.3749, allocations: 91.53 kB / 400.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.3749, allocations: 11.38 kB / 400.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.3769, allocations: 2.034 MB / 402.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.377, allocations: 0 / 402.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3785, allocations: 0.8049 MB / 403.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3786, allocations: 116.6 kB / 403.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.3786, allocations: 6.047 kB / 403.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.3789, allocations: 23.33 kB / 403.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.379, allocations: 35.36 kB / 403.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.3791, allocations: 13.83 kB / 403.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.3792, allocations: 145.9 kB / 403.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3792, allocations: 3.938 kB / 403.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007564/0.38, allocations: 160.7 kB / 403.8 MB, free: 11.05 MB / 334.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 (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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.3802, allocations: 141.5 kB / 403.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3815, allocations: 0.5891 MB / 404.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3815, allocations: 1 kB / 404.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.3822, allocations: 390.6 kB / 404.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3826, allocations: 31.77 kB / 404.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.3847, allocations: 0.8421 MB / 405.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.3853, allocations: 0.8135 MB / 406.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.3856, allocations: 54.78 kB / 406.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3857, allocations: 35.81 kB / 406.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3857, allocations: 0 / 406.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of Templates: time 0.01102/0.3967, allocations: 4.467 MB / 411.1 MB, free: 7.445 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)