Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001062/0.001062, 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.001298/0.001298, allocations: 194.6 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.425/1.425, allocations: 205.1 MB / 222 MB, free: 4.723 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.001278/0.001278, allocations: 47.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2709, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004925/0.2759, allocations: 3.763 MB / 328.4 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.2787, allocations: 1.457 MB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.279, allocations: 9.625 kB / 329.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.2808, allocations: 0.7067 MB / 330.6 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.2821, allocations: 0.5267 MB / 331.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008127/0.2829, allocations: 395 kB / 331.5 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.2834, allocations: 480.9 kB / 332 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.2842, allocations: 426.6 kB / 332.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.2845, allocations: 215.4 kB / 332.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.2848, allocations: 274.2 kB / 332.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.2849, allocations: 34.88 kB / 332.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.2854, allocations: 205.8 kB / 333.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.2855, allocations: 103.6 kB / 333.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.2857, allocations: 242.7 kB / 333.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.2863, allocations: 0.6931 MB / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2864, allocations: 0 / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2864, allocations: 3.938 kB / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2864, allocations: 4 kB / 334.2 MB, free: 10.63 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.001992/0.2884, allocations: 0.9405 MB / 335.1 MB, free: 9.645 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2884, allocations: 8.031 kB / 335.1 MB, free: 9.637 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004114/0.2925, allocations: 0.5896 MB / 335.7 MB, free: 9.047 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.2931, allocations: 315.6 kB / 336 MB, free: 8.699 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.2931, allocations: 45.67 kB / 336.1 MB, free: 8.652 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2933, allocations: 60.28 kB / 336.1 MB, free: 8.594 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.2943, allocations: 0.5687 MB / 336.7 MB, free: 8.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2943, allocations: 0 / 336.7 MB, free: 8.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.2944, allocations: 24 kB / 336.7 MB, free: 7.996 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2944, allocations: 16 kB / 336.7 MB, free: 7.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.2955, allocations: 0.6492 MB / 337.4 MB, free: 7.332 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/0.2986, allocations: 2.063 MB / 339.4 MB, free: 5.145 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.3011, allocations: 2.992 MB / 342.4 MB, free: 1.59 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.3016, allocations: 270.1 kB / 342.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.75e-05/0.3017, allocations: 93.53 kB / 342.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3017, allocations: 39 kB / 342.8 MB, free: 1.164 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 5.179e-06/0.3018, allocations: 4 kB / 342.8 MB, free: 1.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001789/0.3036, allocations: 0.7427 MB / 343.6 MB, free: 400 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3036, allocations: 59.78 kB / 343.6 MB, free: 328 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.3039, allocations: 204.7 kB / 343.8 MB, free: 112 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.3039, allocations: 37.64 kB / 343.9 MB, free: 68 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3041, allocations: 252.1 kB / 344.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3043, allocations: 165.6 kB / 344.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.3044, allocations: 94.14 kB / 344.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3046, allocations: 338.8 kB / 344.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.3049, allocations: 157 kB / 344.9 MB, free: 15.06 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.3053, allocations: 287.6 kB / 345.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007104/0.306, allocations: 478.2 kB / 345.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.306, allocations: 0 / 345.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001069/0.3071, allocations: 0.5865 MB / 346.2 MB, free: 13.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3072, allocations: 7.938 kB / 346.2 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3072, allocations: 4 kB / 346.2 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/0.3076, allocations: 92.77 kB / 346.3 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.308, allocations: 111.8 kB / 346.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.3097, allocations: 1.648 MB / 348 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.3101, allocations: 55.42 kB / 348.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.3101, allocations: 24 kB / 348.1 MB, free: 11.54 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 (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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002689/0.3104, allocations: 165.7 kB / 348.3 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.3105, allocations: 27.72 kB / 348.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.3116, allocations: 0.5552 MB / 348.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.3116, allocations: 7.938 kB / 348.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3116, allocations: 7.938 kB / 348.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3117, allocations: 3.984 kB / 348.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.3133, allocations: 1.173 MB / 350.1 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3134, allocations: 4 kB / 350.1 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.3137, allocations: 83.89 kB / 350.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.314, allocations: 80.88 kB / 350.2 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.314, allocations: 11.98 kB / 350.2 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3155, allocations: 1.632 MB / 351.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3155, allocations: 7.969 kB / 351.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3169, allocations: 0.8179 MB / 352.7 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.317, allocations: 108.7 kB / 352.8 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.317, allocations: 12 kB / 352.8 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.3173, allocations: 19.98 kB / 352.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.3174, allocations: 44.39 kB / 352.9 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3174, allocations: 12 kB / 352.9 MB, free: 6.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.3175, allocations: 151.2 kB / 353 MB, free: 6.371 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3176, allocations: 0 / 353 MB, free: 6.371 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006301/0.3182, allocations: 147.6 kB / 353.2 MB, free: 6.227 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 (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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002957/0.3185, allocations: 151.2 kB / 353.3 MB, free: 6.066 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.3197, allocations: 0.597 MB / 353.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3197, allocations: 0 / 353.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.3204, allocations: 386 kB / 354.3 MB, free: 5.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.321, allocations: 39.92 kB / 354.3 MB, free: 5.031 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3229, allocations: 1.076 MB / 355.4 MB, free: 3.918 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3234, allocations: 0.8214 MB / 356.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.3237, allocations: 51.27 kB / 356.3 MB, free: 3.023 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.3238, allocations: 35.42 kB / 356.3 MB, free: 2.988 MB / 286.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3238, allocations: 0 / 356.3 MB, free: 2.988 MB / 286.1 MB Notification: Performance of Templates: time 0.00877/0.3325, allocations: 4.18 MB / 360.5 MB, free: 14.8 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)