Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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/Modelica 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 239.2 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 191.7 kB / 289.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5411/0.5411, allocations: 91.89 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 75.88 kB / 0.5019 GB, free: 7.758 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3863, allocations: 71.27 MB / 0.5715 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006016/0.3923, allocations: 6.52 MB / 0.5778 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.3968, allocations: 1.963 MB / 0.5797 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009028/0.3977, allocations: 8.531 kB / 0.5798 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007577/0.3985, allocations: 240 kB / 0.58 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.4006, allocations: 0.7971 MB / 0.5808 GB, free: 30.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.4018, allocations: 0.6306 MB / 0.5814 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.4034, allocations: 1.564 MB / 0.5829 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.4039, allocations: 324.9 kB / 0.5832 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.4046, allocations: 0.6529 MB / 0.5838 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007231/0.4053, allocations: 0.8296 MB / 0.5847 GB, free: 29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.4055, allocations: 121.8 kB / 0.5848 GB, free: 29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.406, allocations: 253 kB / 0.585 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.4063, allocations: 335.8 kB / 0.5853 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.4068, allocations: 0.6637 MB / 0.586 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.4082, allocations: 1.639 MB / 0.5876 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4082, allocations: 0 / 0.5876 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4083, allocations: 1.094 kB / 0.5876 GB, free: 27.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.4083, allocations: 0 / 0.5876 GB, free: 27.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00906/0.4173, allocations: 2.691 MB / 0.5902 GB, free: 26.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4174, allocations: 13.66 kB / 0.5902 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.4226, allocations: 0.7694 MB / 0.591 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.4244, allocations: 0.8902 MB / 0.5918 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.4247, allocations: 261.4 kB / 0.5921 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.4249, allocations: 82.88 kB / 0.5922 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.427, allocations: 1.083 MB / 0.5932 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.427, allocations: 0 / 0.5932 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/0.4271, allocations: 34.41 kB / 0.5933 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.4271, allocations: 18 kB / 0.5933 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.4292, allocations: 0.9892 MB / 0.5942 GB, free: 24.49 MB / 430.1 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.007087/0.4363, allocations: 3.815 MB / 0.598 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007671/0.444, allocations: 2.36 MB / 0.6003 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.4457, allocations: 0.6786 MB / 0.6009 GB, free: 21.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.4458, allocations: 20.44 kB / 0.601 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/0.4475, allocations: 0.8158 MB / 0.6018 GB, free: 20.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.957e-06/0.4475, allocations: 0 / 0.6018 GB, free: 20.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03024/0.4777, allocations: 7.19 MB / 0.6088 GB, free: 19.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.4778, allocations: 118.2 kB / 0.6089 GB, free: 19.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.4803, allocations: 1.094 MB / 0.61 GB, free: 18.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003082/0.4806, allocations: 45.89 kB / 0.61 GB, free: 18.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.481, allocations: 495.6 kB / 0.6105 GB, free: 18.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005493/0.4816, allocations: 346.5 kB / 0.6108 GB, free: 18.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007004/0.4823, allocations: 284.9 kB / 0.6111 GB, free: 18.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.4823, allocations: 301.1 kB / 0.6114 GB, free: 17.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.484, allocations: 0.7628 MB / 0.6121 GB, free: 17.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.4856, allocations: 0.9291 MB / 0.613 GB, free: 16.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02313/0.5088, allocations: 5.577 MB / 0.6185 GB, free: 13.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.5088, allocations: 0 / 0.6185 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01269/0.5215, allocations: 4.36 MB / 0.6227 GB, free: 9.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.609e-05/0.5216, allocations: 69.52 kB / 0.6228 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.5216, allocations: 0 / 0.6228 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/0.527, allocations: 1.588 MB / 0.6243 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.5285, allocations: 283.6 kB / 0.6246 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.547, allocations: 8.514 MB / 0.6329 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.5493, allocations: 194.8 kB / 0.6331 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/0.5497, allocations: 63.91 kB / 0.6332 GB, free: 14.67 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009519/0.5506, allocations: 295.8 kB / 0.6335 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/0.5511, allocations: 122.5 kB / 0.6336 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.5647, allocations: 3.881 MB / 0.6374 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.5647, allocations: 8 kB / 0.6374 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/0.5648, allocations: 8 kB / 0.6374 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/0.5648, allocations: 7.969 kB / 0.6374 GB, free: 10.32 MB / 446.1 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.01605/0.5809, allocations: 5.454 MB / 0.6427 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.5809, allocations: 0 / 0.6427 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.5816, allocations: 95.84 kB / 0.6428 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005849/0.5875, allocations: 1.611 MB / 0.6444 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.5877, allocations: 24 kB / 0.6444 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/0.6092, allocations: 9.642 MB / 0.6538 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.6092, allocations: 0 / 0.6538 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.6245, allocations: 4.725 MB / 0.6584 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.6252, allocations: 223.3 kB / 0.6586 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/0.6257, allocations: 23.92 kB / 0.6587 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.6272, allocations: 107.9 kB / 0.6588 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007229/0.628, allocations: 196.7 kB / 0.659 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.6281, allocations: 24 kB / 0.659 GB, free: 3.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.6295, allocations: 0.7315 MB / 0.6597 GB, free: 2.996 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6295, allocations: 0 / 0.6597 GB, free: 2.996 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001982/0.6315, allocations: 475.5 kB / 0.6601 GB, free: 2.531 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003462/0.6319, allocations: 142.5 kB / 0.6603 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007189/0.6391, allocations: 2.551 MB / 0.6628 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6391, allocations: 0 / 0.6628 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004648/0.6437, allocations: 1.588 MB / 0.6643 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.6453, allocations: 129.2 kB / 0.6644 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.6501, allocations: 2.243 MB / 0.6666 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009074/0.651, allocations: 1.12 MB / 0.6677 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006082/0.6517, allocations: 116.1 kB / 0.6678 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.652, allocations: 83.41 kB / 0.6679 GB, free: 10.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.652, allocations: 0 / 0.6679 GB, free: 10.43 MB / 478.1 MB Notification: Performance of Templates: time 0.04246/0.6945, allocations: 23.58 MB / 0.6909 GB, free: 2.879 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)