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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",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: 180.9 kB / 7.65 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.366/1.366, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008651/0.0008651, allocations: 91.66 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5373/0.5373, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/1.989e-05, allocations: 3.938 kB / 485.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1526, allocations: 69.36 MB / 0.5414 GB, free: 6.879 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5844, allocations: 98.44 MB / 0.6375 GB, free: 1.168 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5847, allocations: 76.75 kB / 0.6376 GB, free: 1.094 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1714/0.7561, allocations: 65.66 MB / 0.7017 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7562, allocations: 0 / 0.7017 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001617/0.7563, allocations: 59.94 kB / 0.7018 GB, free: 15.25 MB / 0.5105 GB 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.01305/0.7694, allocations: 3.995 MB / 0.7057 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/0.7695, allocations: 8.031 kB / 0.7057 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.7802, allocations: 1.596 MB / 0.7073 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/0.7846, allocations: 1.627 MB / 0.7089 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006953/0.7853, allocations: 0.6124 MB / 0.7094 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007201/0.786, allocations: 124 kB / 0.7096 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004931/0.791, allocations: 2.223 MB / 0.7117 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/0.7959, allocations: 2.267 MB / 0.714 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.796, allocations: 8 kB / 0.714 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.7962, allocations: 0 / 0.714 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/0.7963, allocations: 48 kB / 0.714 GB, free: 2.414 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 preOpt removeSimpleEquations (simulation): time 0.02043/0.8167, allocations: 9.66 MB / 0.7234 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009331/0.8261, allocations: 3.935 MB / 0.7273 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/0.8288, allocations: 1.46 MB / 0.7287 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.8291, allocations: 46.03 kB / 0.7288 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.8292, allocations: 64.5 kB / 0.7288 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=241): time 4.208e-06/0.8292, allocations: 0.5625 kB / 0.7288 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=241): time 0.03818/0.8674, allocations: 12.06 MB / 0.7406 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.8676, allocations: 239.6 kB / 0.7408 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/0.871, allocations: 1.688 MB / 0.7425 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00077/0.8718, allocations: 25.7 kB / 0.7425 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009579/0.8727, allocations: 1.2 MB / 0.7437 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/0.8742, allocations: 0.8089 MB / 0.7445 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.8744, allocations: 0 / 0.7445 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.8746, allocations: 390.6 kB / 0.7448 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.8767, allocations: 1.172 MB / 0.746 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.879, allocations: 1.472 MB / 0.7474 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.8812, allocations: 1.304 MB / 0.7487 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.8812, allocations: 4 kB / 0.7487 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03774/0.919, allocations: 12.1 MB / 0.7605 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3627/1.282, allocations: 2.868 MB / 0.7633 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.884e-05/1.282, allocations: 6.906 kB / 0.7633 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01587/1.298, allocations: 4.856 MB / 0.7681 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.3, allocations: 376.4 kB / 0.7684 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03854/1.339, allocations: 17.18 MB / 0.7852 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/1.343, allocations: 478.6 kB / 0.7857 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004153/1.343, allocations: 78.94 kB / 0.7857 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.343, allocations: 3.844 kB / 0.7857 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0365/1.38, allocations: 11.79 MB / 0.7972 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.403e-05/1.38, allocations: 6.656 kB / 0.7972 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01638/1.396, allocations: 4.857 MB / 0.802 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/1.398, allocations: 363.5 kB / 0.8023 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03718/1.435, allocations: 17.2 MB / 0.8191 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003982/1.439, allocations: 451.9 kB / 0.8196 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003841/1.44, allocations: 87.34 kB / 0.8196 GB, free: 105.6 MB / 0.5573 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.0007011/1.441, allocations: 202.8 kB / 0.8198 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03443/1.475, allocations: 12.07 MB / 0.8316 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.476, allocations: 289.9 kB / 0.8319 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03442/1.511, allocations: 12.34 MB / 0.844 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/1.511, allocations: 31.14 kB / 0.844 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/1.511, allocations: 17.19 kB / 0.844 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-05/1.511, allocations: 18.72 kB / 0.844 GB, free: 100.6 MB / 0.5573 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.04033/1.551, allocations: 15.84 MB / 0.8595 GB, free: 94.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.551, allocations: 0.9375 kB / 0.8595 GB, free: 94.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.553, allocations: 283.8 kB / 0.8598 GB, free: 94.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01392/1.567, allocations: 4.813 MB / 0.8645 GB, free: 90.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005732/1.568, allocations: 19.61 kB / 0.8645 GB, free: 90.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03184/1.599, allocations: 15.17 MB / 0.8793 GB, free: 77.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.6, allocations: 0 / 0.8793 GB, free: 77.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03703/1.637, allocations: 14.28 MB / 0.8932 GB, free: 65.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.638, allocations: 405 kB / 0.8936 GB, free: 65.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00068/1.638, allocations: 7.188 kB / 0.8936 GB, free: 65.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.641, allocations: 355.8 kB / 0.894 GB, free: 64.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001779/1.643, allocations: 0.5502 MB / 0.8945 GB, free: 64.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.643, allocations: 67.08 kB / 0.8946 GB, free: 64.63 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001868/1.645, allocations: 1.266 MB / 0.8958 GB, free: 63.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/1.645, allocations: 0 / 0.8958 GB, free: 63.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005477/1.651, allocations: 1.602 MB / 0.8974 GB, free: 61.95 MB / 0.5573 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.03746/1.688, allocations: 15.01 MB / 0.912 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02603/1.714, allocations: 9.71 MB / 0.9215 GB, free: 40.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.714, allocations: 4.062 kB / 0.9215 GB, free: 40.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01165/1.726, allocations: 3.971 MB / 0.9254 GB, free: 37.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.728, allocations: 200.4 kB / 0.9256 GB, free: 37.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/1.738, allocations: 4.371 MB / 0.9298 GB, free: 33.15 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/1.739, allocations: 1.895 MB / 0.9317 GB, free: 31.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001876/1.741, allocations: 448 kB / 0.9321 GB, free: 31.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.742, allocations: 1.167 MB / 0.9333 GB, free: 30.34 MB / 0.5573 GB Notification: Performance of SimCode: time 8.22e-07/1.742, allocations: 0 / 0.9333 GB, free: 30.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4671/2.209, allocations: 93.27 MB / 1.024 GB, free: 127.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/2.209, allocations: 147.7 kB / 1.024 GB, free: 127.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.334/7.543, allocations: 5.516 kB / 1.024 GB, free: 127.1 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)