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.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001476/0.001476, allocations: 191.9 kB / 16.14 MB, free: 6.707 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.368/1.368, allocations: 205.1 MB / 222 MB, free: 4.762 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.001668/0.001668, allocations: 51.91 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2548, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004947/0.2598, allocations: 3.763 MB / 328.4 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.2626, allocations: 1.456 MB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.2628, allocations: 8.875 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.2646, allocations: 0.7117 MB / 330.6 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.2659, allocations: 0.5173 MB / 331.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.2668, allocations: 408.3 kB / 331.5 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.2674, allocations: 466.4 kB / 332 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007017/0.2681, allocations: 350.3 kB / 332.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.2684, allocations: 204.7 kB / 332.5 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.2688, allocations: 289.9 kB / 332.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.353e-05/0.2688, allocations: 31.94 kB / 332.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.2693, allocations: 192 kB / 333 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2694, allocations: 95.67 kB / 333.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.2696, allocations: 242.2 kB / 333.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.2704, allocations: 0.6775 MB / 334 MB, free: 10.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2704, allocations: 4 kB / 334 MB, free: 10.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2704, allocations: 0 / 334 MB, free: 10.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2704, allocations: 0 / 334 MB, free: 10.75 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.002168/0.2726, allocations: 0.9287 MB / 335 MB, free: 9.777 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2726, allocations: 11.97 kB / 335 MB, free: 9.766 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.2767, allocations: 0.5857 MB / 335.6 MB, free: 9.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.277, allocations: 319.6 kB / 335.9 MB, free: 8.828 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.2771, allocations: 45.69 kB / 335.9 MB, free: 8.785 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.773e-05/0.2772, allocations: 60.28 kB / 336 MB, free: 8.727 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.2782, allocations: 0.5492 MB / 336.5 MB, free: 8.168 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.2783, allocations: 7.984 kB / 336.5 MB, free: 8.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.2784, allocations: 24 kB / 336.6 MB, free: 8.137 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2784, allocations: 15.98 kB / 336.6 MB, free: 8.121 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2795, allocations: 0.6375 MB / 337.2 MB, free: 7.484 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.2825, allocations: 2.038 MB / 339.3 MB, free: 5.309 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.2852, allocations: 3.009 MB / 342.3 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.2855, allocations: 214.1 kB / 342.5 MB, free: 1.527 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.52e-05/0.2856, allocations: 93.53 kB / 342.6 MB, free: 1.418 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2857, allocations: 39 kB / 342.6 MB, free: 1.367 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 1.924e-06/0.2857, allocations: 4 kB / 342.6 MB, free: 1.363 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.00189/0.2876, allocations: 0.7971 MB / 343.4 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2876, allocations: 59.84 kB / 343.5 MB, free: 480 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2878, allocations: 197.7 kB / 343.7 MB, free: 276 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.2879, allocations: 37.7 kB / 343.7 MB, free: 232 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.288, allocations: 240.3 kB / 343.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.2882, allocations: 169.5 kB / 344.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.2883, allocations: 102.1 kB / 344.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2884, allocations: 334.8 kB / 344.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.2888, allocations: 161 kB / 344.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.2892, allocations: 274 kB / 344.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.2899, allocations: 468.5 kB / 345.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2899, allocations: 0 / 345.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001039/0.2909, allocations: 0.5783 MB / 346 MB, free: 13.82 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.291, allocations: 12.28 kB / 346 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.291, allocations: 8 kB / 346 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.2913, allocations: 92.73 kB / 346.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.2918, allocations: 107.8 kB / 346.2 MB, free: 13.6 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.2938, allocations: 1.842 MB / 348 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.2941, allocations: 59.36 kB / 348.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.2941, allocations: 20 kB / 348.1 MB, free: 11.55 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.0002327/0.2944, allocations: 173.7 kB / 348.3 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.2945, allocations: 27.7 kB / 348.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.2956, allocations: 0.5551 MB / 348.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2956, allocations: 4 kB / 348.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2956, allocations: 4 kB / 348.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2956, allocations: 7.922 kB / 348.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.2974, allocations: 1.138 MB / 350 MB, free: 9.562 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2974, allocations: 0 / 350 MB, free: 9.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.2977, allocations: 87.83 kB / 350.1 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.298, allocations: 88.8 kB / 350.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.2981, allocations: 8 kB / 350.2 MB, free: 9.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.3, allocations: 1.842 MB / 352 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3, allocations: 3.938 kB / 352.1 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3013, allocations: 0.7961 MB / 352.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.3014, allocations: 116.6 kB / 353 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.3015, allocations: 12 kB / 353 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3017, allocations: 19.98 kB / 353 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-05/0.3018, allocations: 32.45 kB / 353 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.3019, allocations: 19.94 kB / 353 MB, free: 6.363 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.302, allocations: 152.1 kB / 353.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.302, allocations: 0 / 353.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006211/0.3026, allocations: 155.5 kB / 353.3 MB, free: 6.062 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.0002369/0.3029, allocations: 143.1 kB / 353.5 MB, free: 5.914 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.304, allocations: 0.5932 MB / 354.1 MB, free: 5.309 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.304, allocations: 0 / 354.1 MB, free: 5.309 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.3046, allocations: 377.9 kB / 354.4 MB, free: 4.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.305, allocations: 44.06 kB / 354.5 MB, free: 4.883 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.3066, allocations: 1.063 MB / 355.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.307, allocations: 0.8175 MB / 356.4 MB, free: 2.953 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.3073, allocations: 51.25 kB / 356.4 MB, free: 2.902 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.3074, allocations: 35.44 kB / 356.5 MB, free: 2.867 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3074, allocations: 0 / 356.5 MB, free: 2.867 MB / 286.1 MB Notification: Performance of Templates: time 0.008957/0.3163, allocations: 4.181 MB / 360.6 MB, free: 14.68 MB / 302.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)