Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 239.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 107.4 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4411/0.4411, allocations: 78.48 MB / 418.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 67.91 kB / 497.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3079, allocations: 68.12 MB / 0.5523 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005794/0.3138, allocations: 6.854 MB / 0.559 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.3175, allocations: 2.013 MB / 0.561 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.3182, allocations: 12 kB / 0.561 GB, free: 11.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.3189, allocations: 186.8 kB / 0.5612 GB, free: 11.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.3204, allocations: 0.7119 MB / 0.5618 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.3215, allocations: 0.5908 MB / 0.5624 GB, free: 9.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.3225, allocations: 1.518 MB / 0.5639 GB, free: 8.305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.3229, allocations: 299.3 kB / 0.5642 GB, free: 8.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.3234, allocations: 0.591 MB / 0.5648 GB, free: 7.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.3241, allocations: 0.7815 MB / 0.5655 GB, free: 6.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.3242, allocations: 72 kB / 0.5656 GB, free: 6.555 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.3246, allocations: 203.9 kB / 0.5658 GB, free: 6.355 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.3248, allocations: 286.6 kB / 0.5661 GB, free: 6.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.3252, allocations: 0.6249 MB / 0.5667 GB, free: 5.445 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3262, allocations: 1.584 MB / 0.5682 GB, free: 3.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3263, allocations: 4 kB / 0.5682 GB, free: 3.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3263, allocations: 0 / 0.5682 GB, free: 3.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3263, allocations: 0 / 0.5682 GB, free: 3.852 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.0077/0.334, allocations: 2.684 MB / 0.5709 GB, free: 1.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.334, allocations: 8.031 kB / 0.5709 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004498/0.3385, allocations: 0.7826 MB / 0.5716 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.3402, allocations: 0.8747 MB / 0.5725 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.3405, allocations: 268.1 kB / 0.5727 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.3407, allocations: 87.91 kB / 0.5728 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.3428, allocations: 1.086 MB / 0.5739 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3428, allocations: 3.938 kB / 0.5739 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3429, allocations: 32 kB / 0.5739 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.3429, allocations: 16 kB / 0.5739 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.3449, allocations: 0.9838 MB / 0.5749 GB, free: 12.86 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006662/0.3516, allocations: 3.828 MB / 0.5786 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/0.3591, allocations: 2.372 MB / 0.5809 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3605, allocations: 0.6815 MB / 0.5816 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.3606, allocations: 16.98 kB / 0.5816 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.3621, allocations: 0.8215 MB / 0.5824 GB, free: 4.844 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.657e-06/0.3621, allocations: 3.938 kB / 0.5824 GB, free: 4.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02839/0.3905, allocations: 7.073 MB / 0.5893 GB, free: 13.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.3907, allocations: 127.7 kB / 0.5895 GB, free: 13.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.3923, allocations: 1.079 MB / 0.5905 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.3924, allocations: 49.69 kB / 0.5906 GB, free: 12.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.3927, allocations: 492.8 kB / 0.591 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.3931, allocations: 362.9 kB / 0.5914 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/0.3936, allocations: 283.5 kB / 0.5916 GB, free: 11.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.3936, allocations: 309.1 kB / 0.5919 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.3952, allocations: 0.7613 MB / 0.5927 GB, free: 10.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.3968, allocations: 0.9343 MB / 0.5936 GB, free: 9.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02309/0.4199, allocations: 5.578 MB / 0.599 GB, free: 3.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.42, allocations: 4 kB / 0.599 GB, free: 3.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01342/0.4334, allocations: 4.336 MB / 0.6033 GB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.4335, allocations: 67.34 kB / 0.6033 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4335, allocations: 4 kB / 0.6034 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005452/0.439, allocations: 1.504 MB / 0.6048 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.4403, allocations: 295.6 kB / 0.6051 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/0.4584, allocations: 7.617 MB / 0.6125 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.4602, allocations: 198.8 kB / 0.6127 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.4604, allocations: 59.97 kB / 0.6128 GB, free: 5.305 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005937/0.461, allocations: 300.3 kB / 0.6131 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.4612, allocations: 130.4 kB / 0.6132 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.4747, allocations: 3.877 MB / 0.617 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4748, allocations: 8 kB / 0.617 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.4748, allocations: 11.94 kB / 0.617 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.4748, allocations: 3.984 kB / 0.617 GB, free: 0.9375 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.4896, allocations: 5.457 MB / 0.6223 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.4897, allocations: 4.031 kB / 0.6223 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.4903, allocations: 103.8 kB / 0.6224 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005804/0.4961, allocations: 1.614 MB / 0.624 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.4964, allocations: 23.97 kB / 0.624 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/0.5165, allocations: 8.754 MB / 0.6326 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5166, allocations: 0 / 0.6326 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09377/0.6103, allocations: 33.03 MB / 0.6648 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.6106, allocations: 219.2 kB / 0.6651 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.6108, allocations: 24 kB / 0.6651 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.612, allocations: 111.9 kB / 0.6652 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005747/0.6126, allocations: 188.6 kB / 0.6654 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.6126, allocations: 28 kB / 0.6654 GB, free: 14.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009795/0.6136, allocations: 0.7274 MB / 0.6661 GB, free: 13.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6136, allocations: 4 kB / 0.6661 GB, free: 13.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001854/0.6155, allocations: 0.6519 MB / 0.6667 GB, free: 13.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002486/0.6158, allocations: 138.9 kB / 0.6669 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006199/0.622, allocations: 2.513 MB / 0.6693 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.622, allocations: 0 / 0.6693 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004439/0.6264, allocations: 1.616 MB / 0.6709 GB, free: 8.707 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.6275, allocations: 107.2 kB / 0.671 GB, free: 8.602 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.6347, allocations: 4.128 MB / 0.675 GB, free: 4.398 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.6354, allocations: 1.16 MB / 0.6762 GB, free: 3.211 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005352/0.6359, allocations: 124 kB / 0.6763 GB, free: 3.086 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.6362, allocations: 83.41 kB / 0.6764 GB, free: 3.004 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6362, allocations: 4 kB / 0.6764 GB, free: 3 MB / 490.7 MB Notification: Performance of Templates: time 0.3243/0.9605, allocations: 31.66 MB / 0.7073 GB, free: 99.92 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)