Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.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.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 171.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.5 MB / 229.6 MB, free: 3.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008647/0.0008647, allocations: 85.64 kB / 280.4 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4313/0.4314, allocations: 78.12 MB / 409.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.459e-05, allocations: 4 kB / 485 MB, free: 4.188 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.333, allocations: 69.35 MB / 0.5413 GB, free: 21.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4448, allocations: 98.43 MB / 0.6374 GB, free: 6.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.445, allocations: 79.95 kB / 0.6375 GB, free: 6.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.441/0.886, allocations: 65.65 MB / 0.7016 GB, free: 97.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.886, allocations: 0 / 0.7016 GB, free: 97.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001317/0.8862, allocations: 54.47 kB / 0.7017 GB, free: 97.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01039/0.8966, allocations: 4 MB / 0.7056 GB, free: 96.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.8966, allocations: 14.16 kB / 0.7056 GB, free: 96.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008896/0.9055, allocations: 1.595 MB / 0.7071 GB, free: 96.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.9079, allocations: 1.626 MB / 0.7087 GB, free: 95.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004449/0.9084, allocations: 0.6169 MB / 0.7093 GB, free: 94.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/0.9087, allocations: 125.8 kB / 0.7095 GB, free: 94.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003228/0.9119, allocations: 2.219 MB / 0.7116 GB, free: 93.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/0.9153, allocations: 2.267 MB / 0.7138 GB, free: 92.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.9153, allocations: 0 / 0.7138 GB, free: 92.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.9155, allocations: 3.938 kB / 0.7138 GB, free: 92.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.9156, allocations: 49.56 kB / 0.7139 GB, free: 92.38 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0139/0.9295, allocations: 9.658 MB / 0.7233 GB, free: 84.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00782/0.9373, allocations: 3.942 MB / 0.7272 GB, free: 80.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.939, allocations: 1.46 MB / 0.7286 GB, free: 78.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.9393, allocations: 48 kB / 0.7286 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.9393, allocations: 56.56 kB / 0.7287 GB, free: 78.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=241): time 3.908e-06/0.9393, allocations: 0 / 0.7287 GB, free: 78.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=241): time 0.03329/0.9726, allocations: 12.07 MB / 0.7405 GB, free: 66.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.9727, allocations: 235.6 kB / 0.7407 GB, free: 66.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.9751, allocations: 1.688 MB / 0.7424 GB, free: 64.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005208/0.9756, allocations: 29.69 kB / 0.7424 GB, free: 64.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.9762, allocations: 1.203 MB / 0.7436 GB, free: 63.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006707/0.9769, allocations: 0.7926 MB / 0.7443 GB, free: 62.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.977, allocations: 0 / 0.7443 GB, free: 62.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.9771, allocations: 398.5 kB / 0.7447 GB, free: 62.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.9788, allocations: 1.176 MB / 0.7459 GB, free: 61.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.9806, allocations: 1.48 MB / 0.7473 GB, free: 59.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.9823, allocations: 1.292 MB / 0.7486 GB, free: 58.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.9823, allocations: 0 / 0.7486 GB, free: 58.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03367/1.016, allocations: 12.11 MB / 0.7604 GB, free: 46.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004472/1.016, allocations: 2.867 MB / 0.7632 GB, free: 42.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.016, allocations: 11.98 kB / 0.7632 GB, free: 42.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01423/1.031, allocations: 4.859 MB / 0.768 GB, free: 38.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.033, allocations: 371.5 kB / 0.7683 GB, free: 37.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03324/1.066, allocations: 17.19 MB / 0.7851 GB, free: 20.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/1.07, allocations: 477.7 kB / 0.7855 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/1.07, allocations: 87.97 kB / 0.7856 GB, free: 19.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.07, allocations: 4 kB / 0.7856 GB, free: 19.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.032/1.102, allocations: 11.78 MB / 0.7971 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/1.103, allocations: 8 kB / 0.7971 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01434/1.117, allocations: 4.859 MB / 0.8019 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/1.119, allocations: 355.5 kB / 0.8022 GB, free: 2.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03646/1.155, allocations: 17.19 MB / 0.819 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/1.159, allocations: 457.9 kB / 0.8195 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/1.16, allocations: 87.97 kB / 0.8195 GB, free: 0.9531 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006858/1.161, allocations: 209.2 kB / 0.8197 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006265/1.161, allocations: 292.3 kB / 0.82 GB, free: 452 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03678/1.198, allocations: 12.34 MB / 0.8321 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/1.198, allocations: 24 kB / 0.8321 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/1.198, allocations: 16 kB / 0.8321 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.532e-05/1.198, allocations: 15.95 kB / 0.8321 GB, free: 4.016 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.04494/1.243, allocations: 15.85 MB / 0.8476 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.243, allocations: 0 / 0.8476 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.245, allocations: 279.6 kB / 0.8479 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0155/1.26, allocations: 4.816 MB / 0.8526 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006264/1.261, allocations: 19.98 kB / 0.8526 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03508/1.296, allocations: 15.16 MB / 0.8674 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.296, allocations: 3.953 kB / 0.8674 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04255/1.339, allocations: 14.27 MB / 0.8813 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.34, allocations: 404.9 kB / 0.8817 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005977/1.34, allocations: 15.94 kB / 0.8817 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/1.344, allocations: 355.7 kB / 0.8821 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001744/1.345, allocations: 0.5447 MB / 0.8826 GB, free: 48 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/1.346, allocations: 64.12 kB / 0.8827 GB, free: 15.98 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001774/1.347, allocations: 1.272 MB / 0.8839 GB, free: 14.71 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.347, allocations: 0 / 0.8839 GB, free: 14.71 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004103/1.351, allocations: 1.599 MB / 0.8855 GB, free: 13.11 MB / 0.573 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000419/1.352, allocations: 157.1 kB / 0.8856 GB, free: 12.94 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02673/1.379, allocations: 9.703 MB / 0.8951 GB, free: 3.113 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.379, allocations: 0 / 0.8951 GB, free: 3.113 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2629/1.642, allocations: 3.968 MB / 0.899 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/1.643, allocations: 194.2 kB / 0.8992 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007771/1.651, allocations: 4.001 MB / 0.9031 GB, free: 176.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/1.653, allocations: 1.897 MB / 0.9049 GB, free: 175.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002098/1.655, allocations: 446.7 kB / 0.9053 GB, free: 175.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/1.656, allocations: 116.7 kB / 0.9055 GB, free: 175.3 MB / 0.573 GB Notification: Performance of SimCode: time 7.52e-07/1.656, allocations: 0 / 0.9055 GB, free: 175.3 MB / 0.573 GB Notification: Performance of Templates: time 0.08919/1.745, allocations: 70.66 MB / 0.9745 GB, free: 136.5 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)