Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.000979, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.354/1.354, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001559/0.00156, allocations: 181 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5333/0.5333, allocations: 79.44 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004727, allocations: 19.97 kB / 0.489 GB, free: 5.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1947, allocations: 69.5 MB / 0.5569 GB, free: 12 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.2985/0.4933, allocations: 12.06 MB / 0.5686 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009664/0.503, allocations: 3.584 MB / 0.5721 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.5066, allocations: 33.38 kB / 0.5722 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.5088, allocations: 386.8 kB / 0.5725 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.5142, allocations: 1.341 MB / 0.5739 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.5176, allocations: 1.269 MB / 0.5751 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004865/0.5225, allocations: 2.364 MB / 0.5774 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5236, allocations: 0.7023 MB / 0.5781 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.5257, allocations: 1.319 MB / 0.5794 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.5274, allocations: 1.664 MB / 0.581 GB, free: 27.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.5277, allocations: 139.9 kB / 0.5811 GB, free: 27.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.5285, allocations: 258.4 kB / 0.5814 GB, free: 27.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.5288, allocations: 0.5789 MB / 0.5819 GB, free: 27.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.5293, allocations: 0.5226 MB / 0.5825 GB, free: 27.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.5316, allocations: 2.816 MB / 0.5852 GB, free: 26.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5317, allocations: 0 / 0.5852 GB, free: 26.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5317, allocations: 0 / 0.5852 GB, free: 26.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.104e-05/0.5317, allocations: 0 / 0.5852 GB, free: 26.16 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.021/0.5527, allocations: 6.159 MB / 0.5912 GB, free: 23.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5528, allocations: 9.094 kB / 0.5912 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.5684, allocations: 2.305 MB / 0.5935 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004619/0.573, allocations: 1.766 MB / 0.5952 GB, free: 22.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007075/0.5738, allocations: 0.7538 MB / 0.5959 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/0.5743, allocations: 222.2 kB / 0.5962 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007086/0.5814, allocations: 3.193 MB / 0.5993 GB, free: 20.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.5815, allocations: 0 / 0.5993 GB, free: 20.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.5818, allocations: 88.88 kB / 0.5994 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.803e-05/0.5818, allocations: 52.95 kB / 0.5994 GB, free: 20.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00682/0.5887, allocations: 2.963 MB / 0.6023 GB, free: 19.48 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.02224/0.6109, allocations: 10.42 MB / 0.6125 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.6238, allocations: 4.85 MB / 0.6172 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000617/0.6245, allocations: 43.81 kB / 0.6173 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00649/0.631, allocations: 2.415 MB / 0.6196 GB, free: 10.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 8.566e-06/0.631, allocations: 0 / 0.6196 GB, free: 10.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1352/0.7663, allocations: 36.33 MB / 0.6551 GB, free: 7.641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.7665, allocations: 180.3 kB / 0.6553 GB, free: 7.426 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/0.7717, allocations: 2.265 MB / 0.6575 GB, free: 5.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/0.7727, allocations: 69.7 kB / 0.6575 GB, free: 5.066 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.774, allocations: 1.179 MB / 0.6587 GB, free: 3.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002071/0.7761, allocations: 0.8683 MB / 0.6595 GB, free: 2.996 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009982/0.7771, allocations: 64 kB / 0.6596 GB, free: 2.934 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003672/0.7775, allocations: 432.8 kB / 0.66 GB, free: 2.504 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005555/0.7831, allocations: 2.13 MB / 0.6621 GB, free: 380 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005861/0.789, allocations: 2.487 MB / 0.6645 GB, free: 13.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006285/0.7953, allocations: 2.396 MB / 0.6669 GB, free: 11.35 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-05/0.7954, allocations: 4 kB / 0.6669 GB, free: 11.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.05013/0.8455, allocations: 15.15 MB / 0.6817 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.8457, allocations: 110.8 kB / 0.6818 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/0.8457, allocations: 15.92 kB / 0.6818 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0216/0.8673, allocations: 6.358 MB / 0.688 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003362/0.8708, allocations: 0.5661 MB / 0.6886 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07374/0.9445, allocations: 26.52 MB / 0.7144 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006591/0.9512, allocations: 0.5908 MB / 0.715 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/0.9526, allocations: 112 kB / 0.7151 GB, free: 9.715 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.003654/0.9563, allocations: 0.5392 MB / 0.7157 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002067/0.9584, allocations: 300.2 kB / 0.7159 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04606/1.004, allocations: 14.72 MB / 0.7303 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.633e-05/1.005, allocations: 27.95 kB / 0.7303 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.427e-05/1.005, allocations: 23.94 kB / 0.7304 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.209e-05/1.005, allocations: 13.55 kB / 0.7304 GB, free: 10.03 MB / 0.5294 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.05489/1.06, allocations: 18.42 MB / 0.7484 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/1.06, allocations: 0 / 0.7484 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/1.062, allocations: 243.7 kB / 0.7486 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0198/1.082, allocations: 6.264 MB / 0.7547 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000914/1.082, allocations: 51.98 kB / 0.7548 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.406/1.489, allocations: 26.88 MB / 0.781 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.489, allocations: 0.625 kB / 0.781 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05216/1.541, allocations: 17.32 MB / 0.7979 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/1.543, allocations: 411.7 kB / 0.7983 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/1.544, allocations: 44.25 kB / 0.7984 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003681/1.548, allocations: 408.4 kB / 0.7988 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002428/1.55, allocations: 0.5808 MB / 0.7993 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.551, allocations: 63.72 kB / 0.7994 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003051/1.554, allocations: 1.49 MB / 0.8008 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.554, allocations: 1.375 kB / 0.8008 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005028/1.559, allocations: 1.175 MB / 0.802 GB, free: 161.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005216/1.559, allocations: 183 kB / 0.8022 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0208/1.58, allocations: 7.468 MB / 0.8095 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.58, allocations: 5.688 kB / 0.8095 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0148/1.595, allocations: 5.083 MB / 0.8144 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/1.598, allocations: 219.5 kB / 0.8146 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.611, allocations: 6.38 MB / 0.8209 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/1.612, allocations: 1.869 MB / 0.8227 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001339/1.614, allocations: 262.4 kB / 0.8229 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/1.614, allocations: 160.5 kB / 0.8231 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/1.614, allocations: 0 / 0.8231 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07573/1.69, allocations: 56.51 MB / 0.8783 GB, free: 101.6 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)