Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.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_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",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.01022/0.01022, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.451/1.451, allocations: 223.2 MB / 239 MB, free: 1.766 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.000938/0.0009381, allocations: 99.47 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4622/0.4622, allocations: 78.58 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 8 kB / 499.9 MB, free: 2.852 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4146, allocations: 69.34 MB / 0.5559 GB, free: 38.95 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01017/0.4248, allocations: 12.02 MB / 0.5676 GB, free: 33.22 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008627/0.4335, allocations: 3.568 MB / 0.5711 GB, free: 30.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004074/0.4376, allocations: 31.72 kB / 0.5711 GB, free: 30.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.4398, allocations: 397.8 kB / 0.5715 GB, free: 30.47 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.4451, allocations: 1.339 MB / 0.5728 GB, free: 29.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.4487, allocations: 1.275 MB / 0.574 GB, free: 28.89 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004893/0.4536, allocations: 2.369 MB / 0.5764 GB, free: 27.6 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.4547, allocations: 0.6959 MB / 0.577 GB, free: 27.26 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.4567, allocations: 1.316 MB / 0.5783 GB, free: 26.64 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.4588, allocations: 1.669 MB / 0.58 GB, free: 25.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006355/0.4595, allocations: 140.1 kB / 0.5801 GB, free: 25.89 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.4606, allocations: 254.8 kB / 0.5803 GB, free: 25.86 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.461, allocations: 0.579 MB / 0.5809 GB, free: 25.53 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.4617, allocations: 0.5231 MB / 0.5814 GB, free: 25.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.4641, allocations: 2.814 MB / 0.5842 GB, free: 24.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4641, allocations: 0 / 0.5842 GB, free: 24.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4641, allocations: 4 kB / 0.5842 GB, free: 24.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.796e-05/0.4642, allocations: 0 / 0.5842 GB, free: 24.33 MB / 426.7 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.02028/0.4845, allocations: 6.158 MB / 0.5902 GB, free: 22.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4846, allocations: 8.312 kB / 0.5902 GB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009351/0.4855, allocations: 305.9 kB / 0.5905 GB, free: 21.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/0.4998, allocations: 2.301 MB / 0.5927 GB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/0.5038, allocations: 1.768 MB / 0.5944 GB, free: 20.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000587/0.5044, allocations: 0.7509 MB / 0.5952 GB, free: 19.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.5048, allocations: 219.7 kB / 0.5954 GB, free: 19.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006419/0.5113, allocations: 3.191 MB / 0.5985 GB, free: 18.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.5113, allocations: 0 / 0.5985 GB, free: 18.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.5116, allocations: 84.53 kB / 0.5986 GB, free: 18.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.5117, allocations: 53.3 kB / 0.5986 GB, free: 18.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007044/0.5187, allocations: 2.971 MB / 0.6015 GB, free: 17.46 MB / 426.7 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.02167/0.5404, allocations: 10.41 MB / 0.6117 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.5529, allocations: 4.867 MB / 0.6165 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.5534, allocations: 47.77 kB / 0.6165 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005303/0.5587, allocations: 2.406 MB / 0.6188 GB, free: 8.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 5.781e-06/0.5587, allocations: 4 kB / 0.6189 GB, free: 8.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=247): time 0.1317/0.6905, allocations: 36.33 MB / 0.6543 GB, free: 4.598 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.6906, allocations: 184.2 kB / 0.6545 GB, free: 4.379 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/0.6947, allocations: 2.261 MB / 0.6567 GB, free: 2.098 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007751/0.6955, allocations: 77.77 kB / 0.6568 GB, free: 2.016 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009061/0.6964, allocations: 1.172 MB / 0.6579 GB, free: 0.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001036/0.6974, allocations: 0.8666 MB / 0.6588 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.6977, allocations: 64 kB / 0.6588 GB, free: 15.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6979, allocations: 424.8 kB / 0.6592 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004437/0.7023, allocations: 2.134 MB / 0.6613 GB, free: 13.33 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004668/0.707, allocations: 2.498 MB / 0.6638 GB, free: 10.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/0.7117, allocations: 2.392 MB / 0.6661 GB, free: 8.305 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.7117, allocations: 0 / 0.6661 GB, free: 8.305 MB / 474.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04549/0.7572, allocations: 15.15 MB / 0.6809 GB, free: 9.086 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.7573, allocations: 120.4 kB / 0.681 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.7574, allocations: 4 kB / 0.681 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0204/0.7778, allocations: 6.366 MB / 0.6872 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.7808, allocations: 0.5617 MB / 0.6878 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06642/0.8473, allocations: 26.53 MB / 0.7137 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005677/0.853, allocations: 0.5792 MB / 0.7143 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000856/0.8539, allocations: 120 kB / 0.7144 GB, free: 6.625 MB / 0.5105 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.001787/0.8557, allocations: 0.5282 MB / 0.7149 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008994/0.8566, allocations: 300.2 kB / 0.7152 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04491/0.9015, allocations: 14.72 MB / 0.7295 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.648e-05/0.9016, allocations: 24 kB / 0.7296 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/0.9016, allocations: 23.98 kB / 0.7296 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.624e-05/0.9017, allocations: 11.95 kB / 0.7296 GB, free: 6.949 MB / 0.5261 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.04959/0.9513, allocations: 18.41 MB / 0.7476 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/0.9514, allocations: 8 kB / 0.7476 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.953, allocations: 251.7 kB / 0.7478 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01937/0.9724, allocations: 6.264 MB / 0.754 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000794/0.9733, allocations: 51.98 kB / 0.754 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3288/1.302, allocations: 26.87 MB / 0.7802 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.302, allocations: 0 / 0.7802 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0479/1.35, allocations: 17.31 MB / 0.7971 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.351, allocations: 422.2 kB / 0.7976 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000654/1.352, allocations: 48.72 kB / 0.7976 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/1.355, allocations: 407.3 kB / 0.798 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002121/1.357, allocations: 0.5765 MB / 0.7985 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.357, allocations: 64.83 kB / 0.7986 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002497/1.36, allocations: 1.487 MB / 0.8001 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.042e-06/1.36, allocations: 0 / 0.8001 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004277/1.364, allocations: 1.184 MB / 0.8012 GB, free: 161.4 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.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.04933/1.413, allocations: 18.07 MB / 0.8189 GB, free: 154.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01854/1.432, allocations: 7.483 MB / 0.8262 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.432, allocations: 0 / 0.8262 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01364/1.446, allocations: 5.086 MB / 0.8311 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/1.448, allocations: 221 kB / 0.8313 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.46, allocations: 11.62 MB / 0.8427 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.461, allocations: 1.876 MB / 0.8445 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001013/1.462, allocations: 258.5 kB / 0.8448 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.464, allocations: 1.226 MB / 0.846 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/1.464, allocations: 0 / 0.846 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.568, allocations: 78.94 MB / 0.9231 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001252/1.568, allocations: 224.6 kB / 0.9233 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.061/6.63, allocations: 4 kB / 0.9233 GB, free: 49.96 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)