Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009573/0.0009575, allocations: 86.48 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.001115/0.001115, 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.5/1.5, allocations: 205.4 MB / 222.1 MB, free: 5.371 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.0004591/0.0004591, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 47.59 MB / 326.5 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003446/0.3011, allocations: 3.17 MB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.3039, allocations: 1.335 MB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.3042, allocations: 8.844 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.3047, allocations: 135.3 kB / 331.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.306, allocations: 470.2 kB / 331.6 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.3068, allocations: 351.4 kB / 331.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.3073, allocations: 451.1 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.3088, allocations: 0.7054 MB / 333.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004353/0.3092, allocations: 188.5 kB / 333.3 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.3096, allocations: 231.4 kB / 333.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.3097, allocations: 21.62 kB / 333.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.3102, allocations: 184 kB / 333.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.3103, allocations: 78.45 kB / 333.8 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3104, allocations: 103.8 kB / 333.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.3111, allocations: 0.5384 MB / 334.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3111, allocations: 3.938 kB / 334.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3111, allocations: 0 / 334.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3111, allocations: 0 / 334.4 MB, free: 11.5 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.001969/0.3131, allocations: 0.8466 MB / 335.3 MB, free: 10.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3132, allocations: 12.03 kB / 335.3 MB, free: 10.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/0.3176, allocations: 0.5886 MB / 335.9 MB, free: 10.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.3181, allocations: 322.3 kB / 336.2 MB, free: 9.652 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.3182, allocations: 45.31 kB / 336.2 MB, free: 9.609 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3183, allocations: 56 kB / 336.3 MB, free: 9.555 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.3194, allocations: 0.5687 MB / 336.8 MB, free: 8.977 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3194, allocations: 3.906 kB / 336.8 MB, free: 8.973 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.3195, allocations: 24 kB / 336.9 MB, free: 8.949 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.3195, allocations: 12 kB / 336.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3206, allocations: 0.6493 MB / 337.5 MB, free: 8.289 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.3237, allocations: 2.063 MB / 339.6 MB, free: 6.102 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/0.3265, allocations: 2.988 MB / 342.6 MB, free: 2.551 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.327, allocations: 274 kB / 342.8 MB, free: 2.281 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3272, allocations: 101.5 kB / 342.9 MB, free: 2.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.3272, allocations: 35 kB / 343 MB, free: 2.117 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.645e-06/0.3272, allocations: 0 / 343 MB, free: 2.117 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.00177/0.329, allocations: 0.7583 MB / 343.7 MB, free: 1.332 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3291, allocations: 55.84 kB / 343.8 MB, free: 1.266 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3293, allocations: 208.7 kB / 344 MB, free: 1.055 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.3293, allocations: 33.7 kB / 344 MB, free: 1.016 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3295, allocations: 236.1 kB / 344.3 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3296, allocations: 161.6 kB / 344.4 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.3297, allocations: 16 kB / 344.4 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3298, allocations: 346.8 kB / 344.8 MB, free: 264 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.3301, allocations: 161 kB / 344.9 MB, free: 100 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.3305, allocations: 283.7 kB / 345.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.3309, allocations: 208.7 kB / 345.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3309, allocations: 0 / 345.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001078/0.332, allocations: 0.5943 MB / 346 MB, free: 14.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.332, allocations: 4 kB / 346 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.332, allocations: 11.97 kB / 346 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003737/0.3324, allocations: 80.84 kB / 346.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.3328, allocations: 115.8 kB / 346.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.3346, allocations: 1.64 MB / 347.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.3349, allocations: 63.42 kB / 347.9 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.3349, allocations: 20 kB / 347.9 MB, free: 12.9 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.0002543/0.3352, allocations: 189.6 kB / 348.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.3352, allocations: 23.72 kB / 348.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.3364, allocations: 0.5629 MB / 348.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.3364, allocations: 8 kB / 348.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.3364, allocations: 4 kB / 348.7 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3364, allocations: 0 / 348.7 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.3382, allocations: 1.185 MB / 349.9 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3382, allocations: 0 / 349.9 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.3386, allocations: 91.95 kB / 350 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.3388, allocations: 68.81 kB / 350.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.3389, allocations: 12 kB / 350.1 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.3405, allocations: 1.64 MB / 351.7 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3406, allocations: 0 / 351.7 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.3419, allocations: 0.8297 MB / 352.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.342, allocations: 116.6 kB / 352.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.3421, allocations: 12 kB / 352.7 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3423, allocations: 19.98 kB / 352.7 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.3424, allocations: 40.45 kB / 352.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.3424, allocations: 12 kB / 352.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.3425, allocations: 147.2 kB / 352.9 MB, free: 7.691 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3425, allocations: 0 / 352.9 MB, free: 7.691 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005995/0.3431, allocations: 155.5 kB / 353 MB, free: 7.539 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.0002546/0.3434, allocations: 143.1 kB / 353.2 MB, free: 7.391 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.3445, allocations: 0.6009 MB / 353.8 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3446, allocations: 0 / 353.8 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.3451, allocations: 398 kB / 354.2 MB, free: 6.375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.3456, allocations: 32.14 kB / 354.2 MB, free: 6.344 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3473, allocations: 1.075 MB / 355.3 MB, free: 5.234 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.3479, allocations: 0.8175 MB / 356.1 MB, free: 4.391 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.3481, allocations: 51.27 kB / 356.1 MB, free: 4.344 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.3482, allocations: 35.42 kB / 356.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3482, allocations: 3.938 kB / 356.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of Templates: time 0.00901/0.3572, allocations: 4.016 MB / 360.2 MB, free: 292 kB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)