Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.0009067/0.0009067, allocations: 91.84 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.409/1.409, allocations: 223.2 MB / 239 MB, free: 5.426 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.001197/0.001197, allocations: 180.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4718/0.4718, allocations: 79.47 MB / 420.8 MB, free: 3.879 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 12 kB / 0.4892 GB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4103, allocations: 69.52 MB / 0.5571 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01016/0.4205, allocations: 12.78 MB / 0.5696 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007989/0.4286, allocations: 3.461 MB / 0.573 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.4318, allocations: 29.78 kB / 0.573 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.4337, allocations: 398.1 kB / 0.5734 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00507/0.4388, allocations: 1.179 MB / 0.5745 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.4422, allocations: 1.281 MB / 0.5758 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005002/0.4472, allocations: 3.331 MB / 0.579 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.449, allocations: 0.6958 MB / 0.5797 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.4514, allocations: 1.308 MB / 0.581 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.4541, allocations: 1.71 MB / 0.5826 GB, free: 26.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.4553, allocations: 142.1 kB / 0.5828 GB, free: 26.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.4573, allocations: 266.4 kB / 0.583 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.4585, allocations: 0.5864 MB / 0.5836 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.4597, allocations: 0.5215 MB / 0.5841 GB, free: 26.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.4633, allocations: 2.942 MB / 0.587 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4633, allocations: 0 / 0.587 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4633, allocations: 0 / 0.587 GB, free: 25.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001936/0.4635, allocations: 4 kB / 0.587 GB, free: 25.2 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.0206/0.4842, allocations: 6.168 MB / 0.593 GB, free: 22.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4842, allocations: 12.12 kB / 0.593 GB, free: 22.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.4854, allocations: 296.7 kB / 0.5933 GB, free: 22.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.5001, allocations: 2.299 MB / 0.5956 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/0.5052, allocations: 1.767 MB / 0.5973 GB, free: 21.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008112/0.506, allocations: 0.7582 MB / 0.598 GB, free: 20.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009617/0.507, allocations: 220.4 kB / 0.5982 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008582/0.5156, allocations: 3.205 MB / 0.6014 GB, free: 19.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/0.5157, allocations: 0.7031 kB / 0.6014 GB, free: 19.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000475/0.5162, allocations: 85.73 kB / 0.6014 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.5163, allocations: 54.23 kB / 0.6015 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007103/0.5234, allocations: 2.971 MB / 0.6044 GB, free: 18.33 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.02129/0.5447, allocations: 10.11 MB / 0.6143 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.556, allocations: 4.853 MB / 0.619 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004303/0.5604, allocations: 2.159 MB / 0.6211 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/0.5609, allocations: 44.08 kB / 0.6212 GB, free: 9.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005001/0.5659, allocations: 2.414 MB / 0.6235 GB, free: 8.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 6.602e-06/0.5659, allocations: 3.938 kB / 0.6235 GB, free: 8.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1212/0.6871, allocations: 36.29 MB / 0.659 GB, free: 3.785 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.6873, allocations: 186.8 kB / 0.6591 GB, free: 3.566 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/0.6923, allocations: 2.261 MB / 0.6613 GB, free: 1.285 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009564/0.6933, allocations: 73.7 kB / 0.6614 GB, free: 1.207 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.6946, allocations: 1.172 MB / 0.6626 GB, free: 24 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00182/0.6965, allocations: 0.8665 MB / 0.6634 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007437/0.6972, allocations: 64 kB / 0.6635 GB, free: 15.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002959/0.6975, allocations: 436.7 kB / 0.6639 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005108/0.7026, allocations: 2.134 MB / 0.666 GB, free: 12.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005175/0.7078, allocations: 2.501 MB / 0.6684 GB, free: 9.918 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005205/0.713, allocations: 2.392 MB / 0.6707 GB, free: 7.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.7131, allocations: 3.953 kB / 0.6707 GB, free: 7.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.0427/0.7558, allocations: 15.15 MB / 0.6855 GB, free: 8.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.756, allocations: 118.8 kB / 0.6857 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/0.756, allocations: 9.641 kB / 0.6857 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01946/0.7755, allocations: 6.361 MB / 0.6919 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/0.7792, allocations: 0.5656 MB / 0.6924 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05867/0.8379, allocations: 25.18 MB / 0.717 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/0.8437, allocations: 0.5909 MB / 0.7176 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/0.8448, allocations: 113.9 kB / 0.7177 GB, free: 7.172 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.00298/0.8478, allocations: 0.5276 MB / 0.7182 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/0.8492, allocations: 300.3 kB / 0.7185 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04013/0.8893, allocations: 14.73 MB / 0.7329 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/0.8894, allocations: 24 kB / 0.7329 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.889e-05/0.8895, allocations: 20.75 kB / 0.7329 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.591e-05/0.8896, allocations: 11.95 kB / 0.7329 GB, free: 7.5 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.05006/0.9396, allocations: 18.31 MB / 0.7508 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/0.9397, allocations: 4 kB / 0.7508 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.9414, allocations: 243.7 kB / 0.7511 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01821/0.9596, allocations: 6.266 MB / 0.7572 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009016/0.9606, allocations: 55.88 kB / 0.7572 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3336/1.294, allocations: 25.51 MB / 0.7821 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.294, allocations: 3.922 kB / 0.7821 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04483/1.339, allocations: 17.27 MB / 0.799 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.34, allocations: 417.7 kB / 0.7994 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009105/1.341, allocations: 43.22 kB / 0.7994 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.344, allocations: 412.8 kB / 0.7998 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002346/1.347, allocations: 0.5779 MB / 0.8004 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002483/1.347, allocations: 65.23 kB / 0.8005 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0027/1.35, allocations: 1.491 MB / 0.8019 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.35, allocations: 0 / 0.8019 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00478/1.354, allocations: 1.179 MB / 0.8031 GB, free: 161.6 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.04712/1.402, allocations: 17.91 MB / 0.8206 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01925/1.421, allocations: 7.478 MB / 0.8279 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.421, allocations: 0 / 0.8279 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01346/1.434, allocations: 5.083 MB / 0.8328 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/1.439, allocations: 258.5 kB / 0.8331 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07524/1.514, allocations: 33.68 MB / 0.866 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/1.516, allocations: 1.806 MB / 0.8677 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001591/1.518, allocations: 263.6 kB / 0.868 GB, free: 111 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.52, allocations: 1.222 MB / 0.8692 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/1.52, allocations: 0 / 0.8692 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/1.636, allocations: 80.77 MB / 0.9481 GB, free: 29.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/1.636, allocations: 225.3 kB / 0.9483 GB, free: 29.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.144/5.78, allocations: 0 / 0.9483 GB, free: 29.18 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: