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.0008088/0.0008087, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.006099/0.006099, allocations: 171 kB / 16.27 MB, free: 6.324 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.371/1.371, allocations: 205.4 MB / 222.4 MB, free: 5.535 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.0004437/0.0004439, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2566, allocations: 47.59 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003619/0.2603, allocations: 3.346 MB / 330.4 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.2636, allocations: 1.453 MB / 331.8 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.2639, allocations: 8.906 kB / 331.8 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.2644, allocations: 158.8 kB / 332 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.2658, allocations: 0.5199 MB / 332.5 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.2666, allocations: 381.1 kB / 332.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005135/0.2671, allocations: 471 kB / 333.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.2684, allocations: 0.7128 MB / 334.1 MB, free: 12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003731/0.2688, allocations: 187.8 kB / 334.2 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.2691, allocations: 252 kB / 334.5 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.2692, allocations: 21.38 kB / 334.5 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.2696, allocations: 187.1 kB / 334.7 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.2697, allocations: 83.61 kB / 334.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.2699, allocations: 248.4 kB / 335 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006656/0.2706, allocations: 0.6631 MB / 335.7 MB, free: 10.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2706, allocations: 4 kB / 335.7 MB, free: 10.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2706, allocations: 3.938 kB / 335.7 MB, free: 10.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.2706, allocations: 0 / 335.7 MB, free: 10.64 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.00197/0.2726, allocations: 0.8312 MB / 336.5 MB, free: 9.766 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2727, allocations: 8.031 kB / 336.5 MB, free: 9.758 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/0.2769, allocations: 0.6012 MB / 337.1 MB, free: 9.156 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.2774, allocations: 311.6 kB / 337.4 MB, free: 8.812 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.2774, allocations: 41.69 kB / 337.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.2775, allocations: 64.31 kB / 337.5 MB, free: 8.711 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.2786, allocations: 0.5609 MB / 338.1 MB, free: 8.141 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.2786, allocations: 4 kB / 338.1 MB, free: 8.137 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.2787, allocations: 24 kB / 338.1 MB, free: 8.113 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.2787, allocations: 16 kB / 338.1 MB, free: 8.098 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.2799, allocations: 0.6376 MB / 338.8 MB, free: 7.461 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.2829, allocations: 2.061 MB / 340.8 MB, free: 5.262 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.2854, allocations: 3.005 MB / 343.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.2858, allocations: 226.1 kB / 344.1 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.048e-05/0.2859, allocations: 89.53 kB / 344.2 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2859, allocations: 39 kB / 344.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 4.028e-06/0.2859, allocations: 0 / 344.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001891/0.2878, allocations: 0.8206 MB / 345 MB, free: 480 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2879, allocations: 55.84 kB / 345.1 MB, free: 412 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.2881, allocations: 205.6 kB / 345.3 MB, free: 200 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.2881, allocations: 41.64 kB / 345.3 MB, free: 152 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.2883, allocations: 240.3 kB / 345.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.2884, allocations: 169.5 kB / 345.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.2885, allocations: 49.69 kB / 345.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2886, allocations: 334.8 kB / 346.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.2889, allocations: 165 kB / 346.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.2893, allocations: 285.9 kB / 346.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.29, allocations: 472.5 kB / 347 MB, free: 14.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.29, allocations: 0 / 347 MB, free: 14.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001035/0.2911, allocations: 0.5903 MB / 347.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2911, allocations: 7.938 kB / 347.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2911, allocations: 4 kB / 347.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/0.2915, allocations: 96.92 kB / 347.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.2919, allocations: 111.8 kB / 347.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.2939, allocations: 1.85 MB / 349.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.2942, allocations: 55.41 kB / 349.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.2942, allocations: 27.98 kB / 349.7 MB, free: 11.48 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 (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.0002296/0.2945, allocations: 165.8 kB / 349.9 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.2945, allocations: 27.62 kB / 349.9 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.2956, allocations: 0.563 MB / 350.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2956, allocations: 4 kB / 350.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2956, allocations: 4.188 kB / 350.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2957, allocations: 3.938 kB / 350.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.2973, allocations: 1.169 MB / 351.7 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2974, allocations: 0 / 351.7 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.2977, allocations: 79.91 kB / 351.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.298, allocations: 84.8 kB / 351.8 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.298, allocations: 8 kB / 351.8 MB, free: 9.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.2999, allocations: 1.858 MB / 353.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2999, allocations: 0 / 353.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.3012, allocations: 0.8155 MB / 354.5 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.3013, allocations: 124.5 kB / 354.6 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.3013, allocations: 12.06 kB / 354.6 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.3016, allocations: 23.98 kB / 354.7 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.3017, allocations: 32.39 kB / 354.7 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.3017, allocations: 15.98 kB / 354.7 MB, free: 6.238 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3018, allocations: 148.2 kB / 354.8 MB, free: 6.094 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3018, allocations: 0 / 354.8 MB, free: 6.094 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006047/0.3025, allocations: 159.6 kB / 355 MB, free: 5.938 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 (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.0002385/0.3027, allocations: 131.2 kB / 355.1 MB, free: 5.801 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.3038, allocations: 0.6016 MB / 355.7 MB, free: 5.188 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3038, allocations: 0 / 355.7 MB, free: 5.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.3044, allocations: 389 kB / 356.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.3048, allocations: 48.23 kB / 356.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3063, allocations: 1.112 MB / 357.3 MB, free: 3.602 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3066, allocations: 0.8214 MB / 358.1 MB, free: 2.758 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.3069, allocations: 51.2 kB / 358.1 MB, free: 2.711 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/0.307, allocations: 39.42 kB / 358.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of SimCode: time 4e-07/0.307, allocations: 0 / 358.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of Templates: time 0.008606/0.3156, allocations: 4.106 MB / 362.3 MB, free: 14.56 MB / 302.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)