Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008086/0.0008086, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008991/0.0008993, allocations: 168.7 kB / 15.95 MB, free: 204 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.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0007159/0.000716, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2701, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003529/0.2737, allocations: 3.179 MB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2758, allocations: 1.335 MB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.276, allocations: 9.031 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.2764, allocations: 131.6 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.2774, allocations: 469 kB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.2782, allocations: 343.8 kB / 331.9 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.2787, allocations: 450.3 kB / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.2799, allocations: 0.6514 MB / 333 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.2803, allocations: 178.9 kB / 333.2 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.2807, allocations: 239.8 kB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.2807, allocations: 21.53 kB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.2812, allocations: 179.4 kB / 333.6 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.2812, allocations: 83.48 kB / 333.7 MB, free: 12 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.2814, allocations: 104.4 kB / 333.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.282, allocations: 0.5206 MB / 334.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2821, allocations: 1.219 kB / 334.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2821, allocations: 0 / 334.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.2821, allocations: 0 / 334.3 MB, free: 11.53 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.002038/0.2841, allocations: 0.8428 MB / 335.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2842, allocations: 12.03 kB / 335.2 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.2882, allocations: 0.5925 MB / 335.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.2887, allocations: 314.3 kB / 336.1 MB, free: 9.762 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.2888, allocations: 45.31 kB / 336.1 MB, free: 9.719 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.146e-05/0.2889, allocations: 52 kB / 336.2 MB, free: 9.668 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.2899, allocations: 0.5609 MB / 336.7 MB, free: 9.098 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.2899, allocations: 3.906 kB / 336.7 MB, free: 9.094 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.29, allocations: 27.94 kB / 336.8 MB, free: 9.066 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.29, allocations: 12 kB / 336.8 MB, free: 9.055 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2911, allocations: 0.6376 MB / 337.4 MB, free: 8.418 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.2941, allocations: 2.054 MB / 339.5 MB, free: 6.227 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.2965, allocations: 3.005 MB / 342.5 MB, free: 2.66 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.2968, allocations: 218.1 kB / 342.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-05/0.2969, allocations: 93.53 kB / 342.8 MB, free: 2.336 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.297, allocations: 43 kB / 342.8 MB, free: 2.281 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.297, allocations: 0 / 342.8 MB, free: 2.281 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001823/0.2988, allocations: 0.8051 MB / 343.6 MB, free: 1.449 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2989, allocations: 59.78 kB / 343.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.2991, allocations: 205.5 kB / 343.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.2991, allocations: 37.7 kB / 343.9 MB, free: 1.129 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.2992, allocations: 236.1 kB / 344.2 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.2994, allocations: 165.5 kB / 344.3 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.2994, allocations: 16 kB / 344.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2995, allocations: 334.8 kB / 344.7 MB, free: 388 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.2998, allocations: 165 kB / 344.8 MB, free: 224 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.3002, allocations: 282 kB / 345.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.3006, allocations: 196.7 kB / 345.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3006, allocations: 0 / 345.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001089/0.3017, allocations: 0.5981 MB / 345.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3018, allocations: 4 kB / 345.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3018, allocations: 7.938 kB / 345.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003338/0.3021, allocations: 88.75 kB / 346 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.3025, allocations: 111.9 kB / 346.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.3045, allocations: 1.85 MB / 347.9 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.3048, allocations: 59.42 kB / 348 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.3049, allocations: 20 kB / 348 MB, free: 12.83 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.000221/0.3051, allocations: 177.7 kB / 348.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.3052, allocations: 23.72 kB / 348.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.3063, allocations: 0.5592 MB / 348.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3063, allocations: 11.94 kB / 348.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3063, allocations: 7.938 kB / 348.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3064, allocations: 3.984 kB / 348.8 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.3081, allocations: 1.153 MB / 350 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3081, allocations: 0 / 350 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.3084, allocations: 83.89 kB / 350 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.3087, allocations: 88.75 kB / 350.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3087, allocations: 8 kB / 350.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.3106, allocations: 1.839 MB / 352 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3106, allocations: 3.953 kB / 352 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.3118, allocations: 0.8117 MB / 352.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.3119, allocations: 116.6 kB / 352.9 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.312, allocations: 12 kB / 352.9 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3122, allocations: 20 kB / 352.9 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3123, allocations: 40.44 kB / 353 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.3123, allocations: 19.95 kB / 353 MB, free: 7.602 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.3125, allocations: 152.1 kB / 353.1 MB, free: 7.453 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3125, allocations: 0 / 353.1 MB, free: 7.453 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006199/0.3131, allocations: 147.6 kB / 353.3 MB, free: 7.309 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.0002424/0.3133, allocations: 135.2 kB / 353.4 MB, free: 7.168 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3144, allocations: 0.5933 MB / 354 MB, free: 6.562 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3144, allocations: 0 / 354 MB, free: 6.562 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000586/0.315, allocations: 397.9 kB / 354.4 MB, free: 6.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3154, allocations: 32.12 kB / 354.4 MB, free: 6.129 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3172, allocations: 1.062 MB / 355.5 MB, free: 5.039 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.3177, allocations: 0.8136 MB / 356.3 MB, free: 4.203 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.3179, allocations: 55.25 kB / 356.4 MB, free: 4.152 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-05/0.318, allocations: 35.44 kB / 356.4 MB, free: 4.117 MB / 286.1 MB Notification: Performance of SimCode: time 2.825e-06/0.318, allocations: 0 / 356.4 MB, free: 4.117 MB / 286.1 MB Notification: Performance of Templates: time 0.008591/0.3266, allocations: 4.004 MB / 360.4 MB, free: 112 kB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)