Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.001225/0.001226, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.323/1.323, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001112/0.001112, allocations: 189 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4701/0.4701, allocations: 79.46 MB / 420.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 8 kB / 0.4891 GB, free: 5.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3295, allocations: 69.5 MB / 0.557 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.008798/0.3383, allocations: 12.15 MB / 0.5688 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007026/0.3454, allocations: 3.586 MB / 0.5723 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.3478, allocations: 30.19 kB / 0.5724 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.3493, allocations: 401.5 kB / 0.5727 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.3537, allocations: 1.336 MB / 0.574 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.3567, allocations: 1.278 MB / 0.5753 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003633/0.3603, allocations: 2.369 MB / 0.5776 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009421/0.3613, allocations: 0.6997 MB / 0.5783 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.3629, allocations: 1.312 MB / 0.5796 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.3645, allocations: 1.67 MB / 0.5812 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.3649, allocations: 145.4 kB / 0.5813 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007112/0.3656, allocations: 250.3 kB / 0.5816 GB, free: 27.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.366, allocations: 0.5826 MB / 0.5821 GB, free: 27.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.3665, allocations: 0.5215 MB / 0.5827 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.3687, allocations: 2.813 MB / 0.5854 GB, free: 26.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3688, allocations: 0 / 0.5854 GB, free: 26.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3688, allocations: 2.938 kB / 0.5854 GB, free: 26.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.614e-05/0.3689, allocations: 0 / 0.5854 GB, free: 26.06 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02083/0.3897, allocations: 6.156 MB / 0.5914 GB, free: 23.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3898, allocations: 7.906 kB / 0.5914 GB, free: 23.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009261/0.3907, allocations: 314.5 kB / 0.5917 GB, free: 23.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.4061, allocations: 2.295 MB / 0.594 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/0.4111, allocations: 1.76 MB / 0.5957 GB, free: 22.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007639/0.4119, allocations: 0.7514 MB / 0.5964 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007802/0.4127, allocations: 224.7 kB / 0.5966 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008004/0.4207, allocations: 3.195 MB / 0.5997 GB, free: 20.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.4208, allocations: 0.8438 kB / 0.5997 GB, free: 20.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.421, allocations: 84.72 kB / 0.5998 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.4211, allocations: 54.05 kB / 0.5999 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006713/0.4278, allocations: 2.972 MB / 0.6028 GB, free: 19.19 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.02187/0.4497, allocations: 10.46 MB / 0.613 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.4631, allocations: 4.855 MB / 0.6177 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.4637, allocations: 44.91 kB / 0.6178 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005385/0.4691, allocations: 2.409 MB / 0.6201 GB, free: 10.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 6.212e-06/0.4692, allocations: 5.812 kB / 0.6201 GB, free: 10.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.126/0.5951, allocations: 34.65 MB / 0.654 GB, free: 8.746 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.5953, allocations: 184.2 kB / 0.6542 GB, free: 8.527 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003441/0.5987, allocations: 2.254 MB / 0.6564 GB, free: 6.254 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006524/0.5994, allocations: 73.7 kB / 0.6564 GB, free: 6.176 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000895/0.6003, allocations: 1.16 MB / 0.6576 GB, free: 5.004 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001182/0.6015, allocations: 0.8704 MB / 0.6584 GB, free: 4.121 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.6019, allocations: 64 kB / 0.6585 GB, free: 4.059 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.6021, allocations: 424.8 kB / 0.6589 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004614/0.6067, allocations: 2.15 MB / 0.661 GB, free: 1.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005124/0.6119, allocations: 2.494 MB / 0.6634 GB, free: 14.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005132/0.617, allocations: 2.403 MB / 0.6658 GB, free: 12.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.6171, allocations: 7.828 kB / 0.6658 GB, free: 12.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04632/0.6634, allocations: 15.17 MB / 0.6806 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.6635, allocations: 114.8 kB / 0.6807 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.6636, allocations: 4.703 kB / 0.6807 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02056/0.6842, allocations: 6.417 MB / 0.687 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.6873, allocations: 0.5734 MB / 0.6875 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06833/0.7556, allocations: 26.47 MB / 0.7134 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004969/0.7606, allocations: 0.5948 MB / 0.714 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007845/0.7614, allocations: 120 kB / 0.7141 GB, free: 10.78 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_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 (327): * Single equations (assignments): 322 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002227/0.7637, allocations: 0.5392 MB / 0.7146 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/0.7649, allocations: 292.3 kB / 0.7149 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04466/0.8096, allocations: 14.73 MB / 0.7293 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/0.8097, allocations: 31.94 kB / 0.7293 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.704e-05/0.8097, allocations: 21.31 kB / 0.7293 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.784e-05/0.8098, allocations: 11.95 kB / 0.7293 GB, free: 11.1 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.05106/0.8609, allocations: 18.43 MB / 0.7473 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.8609, allocations: 3.984 kB / 0.7473 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.8625, allocations: 239.7 kB / 0.7476 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0194/0.8819, allocations: 6.232 MB / 0.7536 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006771/0.8827, allocations: 55.98 kB / 0.7537 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2781/1.161, allocations: 26.86 MB / 0.7799 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.161, allocations: 6.875 kB / 0.7799 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04759/1.208, allocations: 17.32 MB / 0.7968 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009895/1.209, allocations: 414.8 kB / 0.7972 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007939/1.21, allocations: 46.81 kB / 0.7973 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003573/1.214, allocations: 408.8 kB / 0.7977 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00227/1.216, allocations: 0.5811 MB / 0.7982 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003745/1.217, allocations: 65.61 kB / 0.7983 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002587/1.219, allocations: 1.479 MB / 0.7997 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.373e-06/1.219, allocations: 0 / 0.7997 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004229/1.223, allocations: 1.187 MB / 0.8009 GB, free: 160.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04894/1.272, allocations: 18.08 MB / 0.8186 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01866/1.291, allocations: 7.494 MB / 0.8259 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.291, allocations: 4.75 kB / 0.8259 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01386/1.305, allocations: 5.071 MB / 0.8308 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.307, allocations: 221.8 kB / 0.8311 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.32, allocations: 11.72 MB / 0.8425 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.321, allocations: 1.864 MB / 0.8443 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001025/1.322, allocations: 264.8 kB / 0.8446 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.324, allocations: 1.223 MB / 0.8458 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.324, allocations: 2.625 kB / 0.8458 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/1.513, allocations: 78.92 MB / 0.9228 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.513, allocations: 221.2 kB / 0.923 GB, free: 55.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.994/5.507, allocations: 0 / 0.923 GB, free: 55.51 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: