Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 88.34 kB / 16.31 MB, free: 6.453 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.001279/0.00128, allocations: 182 kB / 17.21 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.598/1.598, allocations: 205.4 MB / 223.4 MB, free: 5.785 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.0004839/0.000484, allocations: 12 kB / 280.1 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2702, allocations: 47.59 MB / 327.7 MB, free: 1.633 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003925/0.2742, allocations: 3.175 MB / 330.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.2771, allocations: 1.339 MB / 332.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.2773, allocations: 9.562 kB / 332.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.2778, allocations: 131.4 kB / 332.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.279, allocations: 470.4 kB / 332.8 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.2798, allocations: 347.1 kB / 333.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.2804, allocations: 455.6 kB / 333.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.2818, allocations: 0.7051 MB / 334.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.2822, allocations: 185.2 kB / 334.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.2826, allocations: 238.5 kB / 334.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.2826, allocations: 20.91 kB / 334.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.2831, allocations: 176.3 kB / 334.9 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/0.2832, allocations: 86.91 kB / 335 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2834, allocations: 104.2 kB / 335.1 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007053/0.2841, allocations: 0.5374 MB / 335.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2841, allocations: 0 / 335.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2841, allocations: 0 / 335.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2841, allocations: 1.031 kB / 335.7 MB, free: 11.7 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.001843/0.286, allocations: 0.8378 MB / 336.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.286, allocations: 12.03 kB / 336.5 MB, free: 10.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/0.2899, allocations: 0.5964 MB / 337.1 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.2903, allocations: 318.4 kB / 337.4 MB, free: 9.855 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.2904, allocations: 41.31 kB / 337.5 MB, free: 9.816 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/0.2905, allocations: 55.94 kB / 337.5 MB, free: 9.762 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.2915, allocations: 0.5687 MB / 338.1 MB, free: 9.184 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.2916, allocations: 11.91 kB / 338.1 MB, free: 9.172 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.2916, allocations: 20 kB / 338.1 MB, free: 9.152 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2917, allocations: 12 kB / 338.1 MB, free: 9.141 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2928, allocations: 0.6532 MB / 338.8 MB, free: 8.488 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.296, allocations: 2.063 MB / 340.8 MB, free: 6.301 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.2987, allocations: 2.992 MB / 343.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.2992, allocations: 262.1 kB / 344.1 MB, free: 2.488 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.2993, allocations: 101.5 kB / 344.2 MB, free: 2.367 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.2994, allocations: 35 kB / 344.2 MB, free: 2.324 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 4.298e-06/0.2994, allocations: 0 / 344.2 MB, free: 2.324 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001689/0.3011, allocations: 0.7621 MB / 345 MB, free: 1.535 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3011, allocations: 55.84 kB / 345 MB, free: 1.469 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3014, allocations: 208.7 kB / 345.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.3014, allocations: 33.64 kB / 345.3 MB, free: 1.219 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3015, allocations: 244.1 kB / 345.5 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.3017, allocations: 165.6 kB / 345.7 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.3017, allocations: 8 kB / 345.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3019, allocations: 350.8 kB / 346 MB, free: 464 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.3022, allocations: 161 kB / 346.2 MB, free: 300 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.3026, allocations: 283.7 kB / 346.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.303, allocations: 200.8 kB / 346.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.303, allocations: 8 kB / 346.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00108/0.3041, allocations: 0.5943 MB / 347.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3041, allocations: 4 kB / 347.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3041, allocations: 4 kB / 347.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.3045, allocations: 80.84 kB / 347.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.3049, allocations: 115.8 kB / 347.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.3066, allocations: 1.644 MB / 349.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.3069, allocations: 55.42 kB / 349.2 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.3069, allocations: 24 kB / 349.2 MB, free: 13.11 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003118/0.3072, allocations: 181.7 kB / 349.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.3073, allocations: 23.72 kB / 349.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.3084, allocations: 0.559 MB / 349.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3084, allocations: 8 kB / 350 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3084, allocations: 4 kB / 350 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3084, allocations: 0 / 350 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.3101, allocations: 1.193 MB / 351.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3102, allocations: 0 / 351.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.3105, allocations: 87.95 kB / 351.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.3108, allocations: 80.8 kB / 351.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3108, allocations: 12 kB / 351.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.3124, allocations: 1.628 MB / 353 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3124, allocations: 0 / 353 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3137, allocations: 0.8336 MB / 353.8 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.3138, allocations: 116.6 kB / 353.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.3138, allocations: 8 kB / 353.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.3141, allocations: 23.98 kB / 353.9 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.3142, allocations: 32.45 kB / 354 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.3142, allocations: 20 kB / 354 MB, free: 8.043 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3143, allocations: 147.2 kB / 354.1 MB, free: 7.898 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3143, allocations: 0 / 354.1 MB, free: 7.898 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006194/0.315, allocations: 159.5 kB / 354.3 MB, free: 7.742 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002834/0.3153, allocations: 143.2 kB / 354.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3163, allocations: 0.597 MB / 355 MB, free: 6.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3163, allocations: 0 / 355 MB, free: 6.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.3169, allocations: 394.1 kB / 355.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3173, allocations: 36.14 kB / 355.4 MB, free: 6.551 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3189, allocations: 1.083 MB / 356.5 MB, free: 5.434 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.3195, allocations: 0.8175 MB / 357.3 MB, free: 4.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.3197, allocations: 51.27 kB / 357.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.3198, allocations: 39.42 kB / 357.4 MB, free: 4.504 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3198, allocations: 0 / 357.4 MB, free: 4.504 MB / 286.1 MB Notification: Performance of Templates: time 0.008653/0.3285, allocations: 4.001 MB / 361.4 MB, free: 0.5 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)