Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 86.17 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 239 MB, free: 5.645 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.0009251/0.000925, allocations: 172.5 kB / 290.3 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5193/0.5193, allocations: 91.91 MB / 433.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 16 kB / 0.5042 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3617, allocations: 72.46 MB / 0.5749 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.0138/0.3755, allocations: 20.98 MB / 0.5954 GB, free: 22.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.3876, allocations: 4.968 MB / 0.6003 GB, free: 18.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004899/0.3925, allocations: 50.97 kB / 0.6003 GB, free: 18.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.3948, allocations: 0.6209 MB / 0.6009 GB, free: 18.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006576/0.4014, allocations: 1.759 MB / 0.6027 GB, free: 16.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.4061, allocations: 1.766 MB / 0.6044 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007975/0.4141, allocations: 5.215 MB / 0.6095 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.4165, allocations: 1.067 MB / 0.6105 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.4203, allocations: 2.014 MB / 0.6125 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.4247, allocations: 2.613 MB / 0.615 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.4259, allocations: 237.2 kB / 0.6153 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.4278, allocations: 380.3 kB / 0.6156 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007876/0.4286, allocations: 0.9085 MB / 0.6165 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.4302, allocations: 0.8388 MB / 0.6173 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006309/0.4365, allocations: 4.668 MB / 0.6219 GB, free: 7.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4366, allocations: 0 / 0.6219 GB, free: 7.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4366, allocations: 0 / 0.6219 GB, free: 7.977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002238/0.4368, allocations: 1.312 kB / 0.6219 GB, free: 7.977 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02865/0.4654, allocations: 8.523 MB / 0.6302 GB, free: 4.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4655, allocations: 9.031 kB / 0.6302 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02604/0.4916, allocations: 4.054 MB / 0.6342 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00667/0.4983, allocations: 2.518 MB / 0.6366 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/0.4994, allocations: 0.9924 MB / 0.6376 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.5006, allocations: 351.9 kB / 0.6379 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.5117, allocations: 4.969 MB / 0.6428 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/0.5118, allocations: 0 / 0.6428 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004106/0.5122, allocations: 144 kB / 0.6429 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.5123, allocations: 87.95 kB / 0.643 GB, free: 7.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.5224, allocations: 4.498 MB / 0.6474 GB, free: 3.488 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 preOpt removeSimpleEquations (simulation): time 0.03517/0.5576, allocations: 18.85 MB / 0.6658 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/0.5701, allocations: 5.747 MB / 0.6714 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006426/0.5766, allocations: 3.046 MB / 0.6744 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.5772, allocations: 66.84 kB / 0.6745 GB, free: 6.504 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007364/0.5846, allocations: 3.443 MB / 0.6778 GB, free: 3.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=384): time 7.834e-06/0.5846, allocations: 0 / 0.6778 GB, free: 3.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=384): time 0.2927/0.8774, allocations: 80.92 MB / 0.7569 GB, free: 1.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.8775, allocations: 145.8 kB / 0.757 GB, free: 1.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005845/0.8834, allocations: 3.227 MB / 0.7601 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/0.8844, allocations: 89.69 kB / 0.7602 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00189/0.8863, allocations: 1.982 MB / 0.7622 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002545/0.8889, allocations: 1.305 MB / 0.7634 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.8899, allocations: 91.94 kB / 0.7635 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003921/0.8903, allocations: 463.1 kB / 0.764 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007033/0.8974, allocations: 2.851 MB / 0.7667 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/0.9049, allocations: 3.475 MB / 0.7701 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00755/0.9125, allocations: 3.135 MB / 0.7732 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.9126, allocations: 7.953 kB / 0.7732 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.3005/1.213, allocations: 20.78 MB / 0.7935 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/1.213, allocations: 63.16 kB / 0.7936 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-05/1.213, allocations: 17.92 kB / 0.7936 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02898/1.242, allocations: 8.611 MB / 0.802 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/1.247, allocations: 0.6911 MB / 0.8027 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08337/1.33, allocations: 35.4 MB / 0.8372 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007116/1.337, allocations: 0.7593 MB / 0.838 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/1.338, allocations: 156 kB / 0.8381 GB, free: 133.6 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * 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 initialization (405): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.003134/1.341, allocations: 0.6808 MB / 0.8388 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001753/1.343, allocations: 454.4 kB / 0.8392 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0537/1.397, allocations: 20.64 MB / 0.8594 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/1.397, allocations: 36 kB / 0.8594 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001213/1.397, allocations: 28 kB / 0.8594 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001207/1.397, allocations: 19.94 kB / 0.8595 GB, free: 111.7 MB / 0.5606 GB 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.06246/1.46, allocations: 25.65 MB / 0.8845 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/1.46, allocations: 3.953 kB / 0.8845 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002392/1.462, allocations: 391.5 kB / 0.8849 GB, free: 85.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02375/1.486, allocations: 8.706 MB / 0.8934 GB, free: 76.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/1.487, allocations: 71.98 kB / 0.8935 GB, free: 76.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06956/1.557, allocations: 32.64 MB / 0.9253 GB, free: 43.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.557, allocations: 4 kB / 0.9253 GB, free: 43.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05849/1.615, allocations: 24.27 MB / 0.949 GB, free: 19.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/1.617, allocations: 0.5648 MB / 0.9496 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/1.619, allocations: 63.94 kB / 0.9496 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005066/1.624, allocations: 0.5074 MB / 0.9501 GB, free: 18.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003321/1.627, allocations: 0.7919 MB / 0.9509 GB, free: 17.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006633/1.628, allocations: 91.98 kB / 0.951 GB, free: 17.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003088/1.631, allocations: 2.102 MB / 0.9531 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/1.631, allocations: 0 / 0.9531 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007588/1.638, allocations: 1.806 MB / 0.9548 GB, free: 13.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/1.64, allocations: 198.8 kB / 0.955 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02536/1.665, allocations: 10.29 MB / 0.9651 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/1.665, allocations: 0 / 0.9651 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01969/1.685, allocations: 7.081 MB / 0.972 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/1.689, allocations: 386.4 kB / 0.9723 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.707, allocations: 9.399 MB / 0.9815 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/1.709, allocations: 2.455 MB / 0.9839 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00196/1.711, allocations: 379.1 kB / 0.9843 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.712, allocations: 231.3 kB / 0.9845 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/1.712, allocations: 4 kB / 0.9845 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.3604/2.073, allocations: 81.15 MB / 1.064 GB, free: 153.8 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)