Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000821/0.0008209, allocations: 92.23 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 239 MB, free: 5.449 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.001247/0.001247, allocations: 180.3 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4793/0.4793, allocations: 78.55 MB / 419.9 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004, allocations: 12 kB / 499.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 69.37 MB / 0.5559 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.2798/0.4213, allocations: 12.74 MB / 0.5683 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008458/0.4298, allocations: 3.436 MB / 0.5717 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003595/0.4334, allocations: 32.69 kB / 0.5717 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.4357, allocations: 391.6 kB / 0.5721 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.4413, allocations: 1.192 MB / 0.5733 GB, free: 32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.445, allocations: 1.275 MB / 0.5745 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005416/0.4504, allocations: 3.334 MB / 0.5778 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.4522, allocations: 0.6932 MB / 0.5784 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.4547, allocations: 1.307 MB / 0.5797 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.4574, allocations: 1.712 MB / 0.5814 GB, free: 28.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.4586, allocations: 141.8 kB / 0.5815 GB, free: 28.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.4603, allocations: 267.5 kB / 0.5818 GB, free: 28.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.4615, allocations: 0.5877 MB / 0.5824 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000978/0.4624, allocations: 0.5224 MB / 0.5829 GB, free: 27.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.4652, allocations: 2.935 MB / 0.5857 GB, free: 26.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4652, allocations: 0 / 0.5857 GB, free: 26.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4653, allocations: 0 / 0.5857 GB, free: 26.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.694e-05/0.4653, allocations: 0 / 0.5857 GB, free: 26.47 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.01983/0.4852, allocations: 6.163 MB / 0.5918 GB, free: 24.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.4852, allocations: 8.656 kB / 0.5918 GB, free: 24.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001351/0.4866, allocations: 303.4 kB / 0.5921 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.5014, allocations: 2.302 MB / 0.5943 GB, free: 23.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.5069, allocations: 1.764 MB / 0.596 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009078/0.5079, allocations: 0.756 MB / 0.5968 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.509, allocations: 217.8 kB / 0.597 GB, free: 21.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.5193, allocations: 3.215 MB / 0.6001 GB, free: 20.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-05/0.5194, allocations: 0 / 0.6001 GB, free: 20.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006111/0.52, allocations: 82.7 kB / 0.6002 GB, free: 20.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/0.5201, allocations: 53.42 kB / 0.6002 GB, free: 20.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007731/0.5278, allocations: 2.967 MB / 0.6031 GB, free: 19.6 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.02349/0.5514, allocations: 10.11 MB / 0.613 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.5633, allocations: 4.852 MB / 0.6177 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/0.5679, allocations: 2.164 MB / 0.6199 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.5684, allocations: 44.08 kB / 0.6199 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005099/0.5735, allocations: 2.411 MB / 0.6223 GB, free: 9.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 7.384e-06/0.5735, allocations: 0 / 0.6223 GB, free: 9.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.118/0.6915, allocations: 36.29 MB / 0.6577 GB, free: 5.234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.6917, allocations: 184.2 kB / 0.6579 GB, free: 5.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004905/0.6966, allocations: 2.263 MB / 0.6601 GB, free: 2.734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000881/0.6975, allocations: 73.69 kB / 0.6601 GB, free: 2.656 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.6988, allocations: 1.176 MB / 0.6613 GB, free: 1.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001759/0.7006, allocations: 0.8704 MB / 0.6621 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008136/0.7014, allocations: 64 kB / 0.6622 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003128/0.7018, allocations: 424.8 kB / 0.6626 GB, free: 104 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005346/0.7071, allocations: 2.138 MB / 0.6647 GB, free: 13.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/0.7127, allocations: 2.504 MB / 0.6671 GB, free: 11.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005556/0.7183, allocations: 2.396 MB / 0.6695 GB, free: 8.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.7183, allocations: 0 / 0.6695 GB, free: 8.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04259/0.7609, allocations: 15.15 MB / 0.6843 GB, free: 9.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.7611, allocations: 118.8 kB / 0.6844 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.7612, allocations: 7.516 kB / 0.6844 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01955/0.7807, allocations: 6.365 MB / 0.6906 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.7839, allocations: 0.5655 MB / 0.6912 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0632/0.8472, allocations: 25.19 MB / 0.7158 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005011/0.8522, allocations: 0.587 MB / 0.7163 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/0.8533, allocations: 116 kB / 0.7165 GB, free: 8.617 MB / 0.5137 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.002787/0.8561, allocations: 0.5258 MB / 0.717 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/0.8576, allocations: 304.9 kB / 0.7173 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04235/0.9, allocations: 14.73 MB / 0.7316 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/0.9001, allocations: 24 kB / 0.7317 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-05/0.9002, allocations: 20 kB / 0.7317 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-05/0.9003, allocations: 16.97 kB / 0.7317 GB, free: 8.938 MB / 0.5294 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.05131/0.9516, allocations: 18.32 MB / 0.7496 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/0.9517, allocations: 0.75 kB / 0.7496 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.9533, allocations: 251.6 kB / 0.7498 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01855/0.9719, allocations: 6.261 MB / 0.7559 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008512/0.9728, allocations: 55.89 kB / 0.756 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3563/1.329, allocations: 25.5 MB / 0.7809 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.329, allocations: 7.109 kB / 0.7809 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04541/1.375, allocations: 17.27 MB / 0.7978 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.376, allocations: 416.3 kB / 0.7982 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009064/1.377, allocations: 44.72 kB / 0.7982 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/1.38, allocations: 409 kB / 0.7986 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002481/1.382, allocations: 0.5771 MB / 0.7992 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.383, allocations: 65.97 kB / 0.7992 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002725/1.385, allocations: 1.488 MB / 0.8007 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/1.386, allocations: 1.062 kB / 0.8007 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004608/1.39, allocations: 1.176 MB / 0.8018 GB, free: 161.9 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 (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.04698/1.437, allocations: 17.92 MB / 0.8193 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01736/1.455, allocations: 7.474 MB / 0.8266 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.455, allocations: 4 kB / 0.8266 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01208/1.467, allocations: 5.076 MB / 0.8316 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1.469, allocations: 266.4 kB / 0.8318 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06388/1.533, allocations: 33.67 MB / 0.8647 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.534, allocations: 1.814 MB / 0.8665 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001283/1.536, allocations: 264.7 kB / 0.8667 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.537, allocations: 1.218 MB / 0.8679 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.537, allocations: 0 / 0.8679 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/1.646, allocations: 80.76 MB / 0.9468 GB, free: 31.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.646, allocations: 222.7 kB / 0.947 GB, free: 31.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.595/6.241, allocations: 8 kB / 0.947 GB, free: 31.27 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: