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.001431/0.001431, allocations: 103.9 kB / 17.06 MB, free: 6.012 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.001678/0.001678, allocations: 195 kB / 18 MB, free: 5.094 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.31/1.31, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001206/0.001206, allocations: 52.39 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09146, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004753/0.09626, allocations: 3.733 MB / 378.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2047/0.301, allocations: 1.459 MB / 379.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.3013, allocations: 9.438 kB / 379.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.3029, allocations: 0.7496 MB / 380.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.3041, allocations: 0.5787 MB / 381 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.3048, allocations: 418.4 kB / 381.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.3054, allocations: 495 kB / 381.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.306, allocations: 389.1 kB / 382.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.3063, allocations: 212.6 kB / 382.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.3067, allocations: 287.4 kB / 382.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/0.3067, allocations: 43.59 kB / 382.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.3072, allocations: 210.9 kB / 383 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.3073, allocations: 112.5 kB / 383.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.3075, allocations: 248.8 kB / 383.4 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007859/0.3083, allocations: 0.6985 MB / 384.1 MB, free: 8.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3083, allocations: 0 / 384.1 MB, free: 8.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3083, allocations: 0 / 384.1 MB, free: 8.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.3083, allocations: 1.062 kB / 384.1 MB, free: 8.91 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.001976/0.3103, allocations: 0.9393 MB / 385 MB, free: 8.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3103, allocations: 9.25 kB / 385 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004326/0.3147, allocations: 0.584 MB / 385.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.3151, allocations: 308.9 kB / 385.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.3152, allocations: 50.72 kB / 386 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.3153, allocations: 64.97 kB / 386 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.3163, allocations: 0.5537 MB / 386.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3163, allocations: 0 / 386.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.3164, allocations: 25.06 kB / 386.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.3164, allocations: 14.19 kB / 386.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3175, allocations: 0.6322 MB / 387.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.3205, allocations: 2.043 MB / 389.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.3226, allocations: 3.008 MB / 392.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.323, allocations: 214.2 kB / 392.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.3231, allocations: 98.77 kB / 392.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3231, allocations: 37.5 kB / 392.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.893e-06/0.3231, allocations: 3.938 kB / 392.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002018/0.3251, allocations: 0.7897 MB / 393.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.3252, allocations: 60.19 kB / 393.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3254, allocations: 198 kB / 393.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3254, allocations: 35.86 kB / 393.7 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3255, allocations: 240.4 kB / 394 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.3256, allocations: 164.4 kB / 394.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.3258, allocations: 98.95 kB / 394.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.3259, allocations: 341 kB / 394.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.3262, allocations: 158.8 kB / 394.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.3266, allocations: 277.6 kB / 395 MB, free: 1.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.3273, allocations: 464.2 kB / 395.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3274, allocations: 1.094 kB / 395.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001215/0.3286, allocations: 0.5837 MB / 396 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3286, allocations: 7.328 kB / 396 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3286, allocations: 6.375 kB / 396 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.329, allocations: 87.38 kB / 396.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.3295, allocations: 107 kB / 396.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.3316, allocations: 2.055 MB / 398.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.332, allocations: 52.8 kB / 398.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.332, allocations: 22.03 kB / 398.3 MB, free: 14.71 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.0002177/0.3322, allocations: 167.8 kB / 398.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.3323, allocations: 37.55 kB / 398.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.3335, allocations: 0.5524 MB / 399.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.3335, allocations: 8.188 kB / 399.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3335, allocations: 3.766 kB / 399.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.3335, allocations: 2.203 kB / 399.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.3353, allocations: 1.134 MB / 400.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3353, allocations: 0 / 400.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.3356, allocations: 78.83 kB / 400.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002825/0.3359, allocations: 88.23 kB / 400.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.336, allocations: 15.11 kB / 400.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.3379, allocations: 2.036 MB / 402.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3379, allocations: 0 / 402.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.3392, allocations: 0.8017 MB / 403.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3393, allocations: 118.8 kB / 403.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.3394, allocations: 8.828 kB / 403.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.3396, allocations: 20.2 kB / 403.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.3397, allocations: 37.55 kB / 403.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.3398, allocations: 14.89 kB / 403.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3399, allocations: 145 kB / 403.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3399, allocations: 0 / 403.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006326/0.3406, allocations: 160.8 kB / 403.7 MB, free: 11.07 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.000246/0.3408, allocations: 135.6 kB / 403.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3419, allocations: 0.5911 MB / 404.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.342, allocations: 1.125 kB / 404.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005935/0.3426, allocations: 390.2 kB / 404.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3429, allocations: 35.62 kB / 404.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.3446, allocations: 0.8485 MB / 405.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.345, allocations: 0.8139 MB / 406.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.3452, allocations: 53.86 kB / 406.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.3453, allocations: 35.41 kB / 406.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3453, allocations: 1.125 kB / 406.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of Templates: time 0.009434/0.3548, allocations: 4.574 MB / 411.2 MB, free: 7.375 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)