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.001015/0.001015, allocations: 98.56 kB / 16.02 MB, free: 76 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.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.266 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.001307/0.001306, allocations: 180.5 kB / 291.3 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5052/0.5052, allocations: 91.92 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003985, allocations: 8 kB / 0.5054 GB, free: 7.254 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3866, allocations: 72.49 MB / 0.5762 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01001/0.3966, allocations: 13.74 MB / 0.5896 GB, free: 26.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00703/0.4037, allocations: 3.585 MB / 0.5931 GB, free: 24.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.406, allocations: 35.44 kB / 0.5931 GB, free: 24.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.4072, allocations: 432.8 kB / 0.5936 GB, free: 23.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.411, allocations: 1.226 MB / 0.5947 GB, free: 23.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.4138, allocations: 1.393 MB / 0.5961 GB, free: 22.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004052/0.4179, allocations: 3.517 MB / 0.5995 GB, free: 20.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.419, allocations: 0.798 MB / 0.6003 GB, free: 20.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.4211, allocations: 1.325 MB / 0.6016 GB, free: 19.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.4231, allocations: 1.777 MB / 0.6034 GB, free: 18.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004488/0.4235, allocations: 141.4 kB / 0.6035 GB, free: 18.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009466/0.4245, allocations: 269.8 kB / 0.6037 GB, free: 18.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005138/0.425, allocations: 0.6091 MB / 0.6043 GB, free: 18.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.4265, allocations: 1.489 MB / 0.6058 GB, free: 17.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.4295, allocations: 2.946 MB / 0.6087 GB, free: 16.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4295, allocations: 0 / 0.6087 GB, free: 16.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4295, allocations: 5 kB / 0.6087 GB, free: 16.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.702e-05/0.4296, allocations: 0 / 0.6087 GB, free: 16.45 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.02339/0.453, allocations: 6.121 MB / 0.6147 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4531, allocations: 9.312 kB / 0.6147 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.4692, allocations: 2.296 MB / 0.6169 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/0.4747, allocations: 1.878 MB / 0.6187 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007844/0.4755, allocations: 0.7505 MB / 0.6195 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009184/0.4765, allocations: 219.2 kB / 0.6197 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007657/0.4841, allocations: 3.226 MB / 0.6228 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.4842, allocations: 0 / 0.6228 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.4845, allocations: 94.16 kB / 0.6229 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.4846, allocations: 49.39 kB / 0.623 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006917/0.4915, allocations: 2.982 MB / 0.6259 GB, free: 9.637 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.01787/0.5094, allocations: 10.13 MB / 0.6358 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.5216, allocations: 4.868 MB / 0.6405 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004884/0.5265, allocations: 2.161 MB / 0.6426 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.5268, allocations: 41.95 kB / 0.6427 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005293/0.5321, allocations: 2.431 MB / 0.645 GB, free: 6.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.218e-06/0.5321, allocations: 0 / 0.645 GB, free: 6.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1427/0.6748, allocations: 36.49 MB / 0.6807 GB, free: 1.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.675, allocations: 188.2 kB / 0.6809 GB, free: 1.402 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004724/0.6797, allocations: 2.281 MB / 0.6831 GB, free: 15.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008902/0.6806, allocations: 73.7 kB / 0.6832 GB, free: 15.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.6818, allocations: 1.172 MB / 0.6843 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001639/0.6835, allocations: 0.8703 MB / 0.6852 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009181/0.6844, allocations: 288.5 kB / 0.6854 GB, free: 12.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.6845, allocations: 301.1 kB / 0.6857 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00482/0.6893, allocations: 2.15 MB / 0.6878 GB, free: 10.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/0.6944, allocations: 2.509 MB / 0.6903 GB, free: 7.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05834/0.7527, allocations: 15.43 MB / 0.7053 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.7528, allocations: 4 kB / 0.7053 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.0485/0.8013, allocations: 15.09 MB / 0.7201 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.8015, allocations: 122.7 kB / 0.7202 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.8015, allocations: 7.938 kB / 0.7202 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02047/0.822, allocations: 6.293 MB / 0.7263 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/0.8251, allocations: 0.5695 MB / 0.7269 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06557/0.8907, allocations: 24.78 MB / 0.7511 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/0.8959, allocations: 0.587 MB / 0.7517 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/0.8967, allocations: 112 kB / 0.7518 GB, free: 8.133 MB / 0.545 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.002086/0.8988, allocations: 0.5372 MB / 0.7523 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/0.8999, allocations: 292.3 kB / 0.7526 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04615/0.9461, allocations: 14.75 MB / 0.767 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/0.9462, allocations: 27.98 kB / 0.767 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.908e-05/0.9462, allocations: 20 kB / 0.767 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/0.9463, allocations: 11.95 kB / 0.767 GB, free: 8.43 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.311/1.257, allocations: 18.34 MB / 0.7849 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/1.257, allocations: 1.031 kB / 0.785 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.259, allocations: 247 kB / 0.7852 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02053/1.28, allocations: 6.269 MB / 0.7913 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007123/1.28, allocations: 50.78 kB / 0.7914 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05814/1.338, allocations: 25.53 MB / 0.8163 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.339, allocations: 3.438 kB / 0.8163 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04552/1.384, allocations: 17.3 MB / 0.8332 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.385, allocations: 412.6 kB / 0.8336 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005879/1.386, allocations: 51.88 kB / 0.8336 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/1.389, allocations: 408.2 kB / 0.834 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002045/1.391, allocations: 0.5659 MB / 0.8346 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.391, allocations: 67.84 kB / 0.8346 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001898/1.393, allocations: 1.512 MB / 0.8361 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.393, allocations: 0 / 0.8361 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003474/1.397, allocations: 1.172 MB / 0.8373 GB, free: 136 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004249/1.397, allocations: 173 kB / 0.8374 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01736/1.414, allocations: 7.475 MB / 0.8447 GB, free: 129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.414, allocations: 2.859 kB / 0.8447 GB, free: 129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01328/1.428, allocations: 5.088 MB / 0.8497 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.43, allocations: 266.2 kB / 0.8499 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008234/1.439, allocations: 6.569 MB / 0.8564 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/1.44, allocations: 1.813 MB / 0.8581 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/1.44, allocations: 179.4 kB / 0.8583 GB, free: 115 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/1.44, allocations: 0 / 0.8583 GB, free: 115 MB / 0.5606 GB Notification: Performance of Templates: time 0.06524/1.506, allocations: 63.46 MB / 0.9203 GB, free: 51.52 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)