Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 102.5 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4338/0.4338, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.221e-05, allocations: 4 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3233, allocations: 69.5 MB / 0.5492 GB, free: 19.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4493, allocations: 99.81 MB / 0.6467 GB, free: 15.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4495, allocations: 79.95 kB / 0.6468 GB, free: 15.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4786/0.9281, allocations: 62.9 MB / 0.7082 GB, free: 99.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.9282, allocations: 3.938 kB / 0.7082 GB, free: 99.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.9283, allocations: 55.38 kB / 0.7082 GB, free: 99.05 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01118/0.9395, allocations: 3.793 MB / 0.7119 GB, free: 96.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.9396, allocations: 11.97 kB / 0.712 GB, free: 96.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007975/0.9404, allocations: 289.6 kB / 0.7122 GB, free: 96.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009458/0.9498, allocations: 1.577 MB / 0.7138 GB, free: 94.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.9531, allocations: 1.485 MB / 0.7152 GB, free: 92.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000594/0.9537, allocations: 0.6864 MB / 0.7159 GB, free: 92.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007119/0.9544, allocations: 192 kB / 0.7161 GB, free: 92.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.9583, allocations: 2.434 MB / 0.7185 GB, free: 89.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.9584, allocations: 0 / 0.7185 GB, free: 89.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002347/0.9586, allocations: 80 kB / 0.7185 GB, free: 89.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.9587, allocations: 48 kB / 0.7186 GB, free: 89.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/0.9624, allocations: 2.183 MB / 0.7207 GB, free: 87.25 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.01658/0.979, allocations: 9.717 MB / 0.7302 GB, free: 77.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008614/0.9876, allocations: 4.076 MB / 0.7342 GB, free: 72.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.9901, allocations: 1.45 MB / 0.7356 GB, free: 71.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.9904, allocations: 37.97 kB / 0.7356 GB, free: 71.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.9905, allocations: 60.56 kB / 0.7357 GB, free: 71.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 6.472e-06/0.9905, allocations: 0 / 0.7357 GB, free: 71.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03376/1.024, allocations: 12.1 MB / 0.7475 GB, free: 59.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/1.024, allocations: 128.8 kB / 0.7476 GB, free: 59.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/1.027, allocations: 1.672 MB / 0.7493 GB, free: 57.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006273/1.027, allocations: 65.7 kB / 0.7493 GB, free: 57.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006004/1.028, allocations: 1.133 MB / 0.7504 GB, free: 56.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.029, allocations: 0.7891 MB / 0.7512 GB, free: 55.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/1.029, allocations: 44 kB / 0.7512 GB, free: 55.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/1.029, allocations: 390.3 kB / 0.7516 GB, free: 54.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/1.031, allocations: 1.172 MB / 0.7528 GB, free: 53.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/1.033, allocations: 1.475 MB / 0.7542 GB, free: 52.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/1.035, allocations: 1.287 MB / 0.7555 GB, free: 50.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.035, allocations: 7.953 kB / 0.7555 GB, free: 50.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03383/1.069, allocations: 12.32 MB / 0.7675 GB, free: 38.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004905/1.069, allocations: 2.741 MB / 0.7702 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.069, allocations: 8 kB / 0.7702 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/1.085, allocations: 5.298 MB / 0.7753 GB, free: 30.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.087, allocations: 315.5 kB / 0.7756 GB, free: 30 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03885/1.126, allocations: 19.27 MB / 0.7945 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.13, allocations: 493.8 kB / 0.7949 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004321/1.13, allocations: 79.97 kB / 0.795 GB, free: 9.879 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.13, allocations: 4 kB / 0.795 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03452/1.165, allocations: 12.05 MB / 0.8068 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/1.165, allocations: 8 kB / 0.8068 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/1.183, allocations: 5.306 MB / 0.812 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.184, allocations: 303.6 kB / 0.8123 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04364/1.228, allocations: 19.25 MB / 0.8311 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00426/1.232, allocations: 473.9 kB / 0.8315 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000626/1.233, allocations: 83.97 kB / 0.8316 GB, free: 4.105 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.000722/1.234, allocations: 225.7 kB / 0.8318 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009018/1.235, allocations: 272.6 kB / 0.8321 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03682/1.271, allocations: 12.44 MB / 0.8442 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/1.272, allocations: 20 kB / 0.8442 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.907e-05/1.272, allocations: 20 kB / 0.8443 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.182e-05/1.272, allocations: 11.95 kB / 0.8443 GB, free: 7.086 MB / 0.5261 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.04484/1.316, allocations: 15.97 MB / 0.8599 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.317, allocations: 3.984 kB / 0.8599 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.318, allocations: 255.8 kB / 0.8601 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01581/1.334, allocations: 4.879 MB / 0.8649 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006926/1.335, allocations: 47.94 kB / 0.8649 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03653/1.372, allocations: 15.35 MB / 0.8799 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.372, allocations: 4 kB / 0.8799 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0414/1.413, allocations: 14.35 MB / 0.8939 GB, free: 3.855 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.414, allocations: 381.3 kB / 0.8943 GB, free: 3.461 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008928/1.415, allocations: 43.98 kB / 0.8943 GB, free: 3.418 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.418, allocations: 363.7 kB / 0.8947 GB, free: 3.062 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002173/1.421, allocations: 0.5446 MB / 0.8952 GB, free: 2.516 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003399/1.421, allocations: 63.94 kB / 0.8953 GB, free: 2.453 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0021/1.423, allocations: 1.286 MB / 0.8965 GB, free: 1.152 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.423, allocations: 0 / 0.8965 GB, free: 1.152 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.354/1.777, allocations: 1.714 MB / 0.8982 GB, free: 178.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04211/1.819, allocations: 15.23 MB / 0.9131 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02716/1.846, allocations: 9.7 MB / 0.9225 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.847, allocations: 64 / 0.9225 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01159/1.858, allocations: 3.939 MB / 0.9264 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.86, allocations: 192.9 kB / 0.9266 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009806/1.87, allocations: 4.592 MB / 0.9311 GB, free: 173.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.871, allocations: 1.805 MB / 0.9328 GB, free: 171.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0017/1.873, allocations: 361.2 kB / 0.9332 GB, free: 171.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.874, allocations: 1.077 MB / 0.9342 GB, free: 170.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.113e-06/1.874, allocations: 0 / 0.9342 GB, free: 170.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/2.011, allocations: 97.57 MB / 1.029 GB, free: 81.63 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/2.011, allocations: 194.5 kB / 1.03 GB, free: 81.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.183/7.194, allocations: 7.328 kB / 1.03 GB, free: 81.39 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)