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.0008817/0.0008819, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.394/1.394, allocations: 223.3 MB / 239 MB, free: 5.43 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.0009405/0.0009405, allocations: 176.6 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4918/0.4918, allocations: 79.48 MB / 420.8 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 15.98 kB / 0.4892 GB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4214, allocations: 69.51 MB / 0.5571 GB, free: 37.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01021/0.4317, allocations: 12.87 MB / 0.5697 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007574/0.4393, allocations: 3.462 MB / 0.573 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.441, allocations: 29.03 kB / 0.5731 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.4421, allocations: 394.7 kB / 0.5734 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.4449, allocations: 1.192 MB / 0.5746 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.4474, allocations: 1.282 MB / 0.5759 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.4502, allocations: 3.339 MB / 0.5791 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008345/0.451, allocations: 0.699 MB / 0.5798 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.4524, allocations: 1.306 MB / 0.5811 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.4538, allocations: 1.708 MB / 0.5828 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.4541, allocations: 139.4 kB / 0.5829 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.4547, allocations: 275.8 kB / 0.5831 GB, free: 27.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.4551, allocations: 0.581 MB / 0.5837 GB, free: 26.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.4554, allocations: 0.5208 MB / 0.5842 GB, free: 26.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.4573, allocations: 2.94 MB / 0.5871 GB, free: 25.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4573, allocations: 0 / 0.5871 GB, free: 25.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4573, allocations: 0 / 0.5871 GB, free: 25.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.893e-05/0.4574, allocations: 7.938 kB / 0.5871 GB, free: 25.51 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.01848/0.4759, allocations: 6.161 MB / 0.5931 GB, free: 23.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4759, allocations: 9.844 kB / 0.5931 GB, free: 23.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007116/0.4767, allocations: 301.8 kB / 0.5934 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.4907, allocations: 2.296 MB / 0.5957 GB, free: 22.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005051/0.4958, allocations: 1.763 MB / 0.5974 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000796/0.4966, allocations: 0.7553 MB / 0.5981 GB, free: 20.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.4976, allocations: 218.7 kB / 0.5983 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009463/0.5071, allocations: 3.215 MB / 0.6015 GB, free: 19.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/0.5073, allocations: 3.938 kB / 0.6015 GB, free: 19.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/0.5084, allocations: 84.61 kB / 0.6016 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.672e-05/0.5085, allocations: 52.36 kB / 0.6016 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.5204, allocations: 2.968 MB / 0.6045 GB, free: 18.64 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.0346/0.5551, allocations: 10.16 MB / 0.6144 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/0.5728, allocations: 4.857 MB / 0.6192 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007269/0.5801, allocations: 2.151 MB / 0.6213 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.5809, allocations: 43.95 kB / 0.6213 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007675/0.5886, allocations: 2.427 MB / 0.6237 GB, free: 8.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=248): time 1.18e-05/0.5887, allocations: 0 / 0.6237 GB, free: 8.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1468/0.7354, allocations: 34.6 MB / 0.6575 GB, free: 5.395 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.7356, allocations: 190.7 kB / 0.6577 GB, free: 5.172 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.7389, allocations: 2.254 MB / 0.6599 GB, free: 2.898 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006493/0.7396, allocations: 73.7 kB / 0.6599 GB, free: 2.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008467/0.7404, allocations: 1.16 MB / 0.6611 GB, free: 1.648 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008949/0.7413, allocations: 0.8704 MB / 0.6619 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.7416, allocations: 64 kB / 0.662 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.7418, allocations: 424.8 kB / 0.6624 GB, free: 288 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004044/0.7458, allocations: 2.142 MB / 0.6645 GB, free: 14.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/0.7502, allocations: 2.513 MB / 0.6669 GB, free: 11.53 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.7546, allocations: 2.407 MB / 0.6693 GB, free: 9.082 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.7546, allocations: 7.953 kB / 0.6693 GB, free: 9.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.03823/0.7929, allocations: 15.16 MB / 0.6841 GB, free: 9.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.793, allocations: 118.8 kB / 0.6842 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.793, allocations: 4 kB / 0.6842 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01802/0.8111, allocations: 6.416 MB / 0.6905 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/0.8141, allocations: 0.5742 MB / 0.691 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05959/0.8737, allocations: 25.14 MB / 0.7156 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/0.8792, allocations: 0.587 MB / 0.7162 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/0.8803, allocations: 120 kB / 0.7163 GB, free: 8.746 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.002184/0.8825, allocations: 0.5348 MB / 0.7168 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/0.8836, allocations: 296.3 kB / 0.7171 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04034/0.924, allocations: 14.73 MB / 0.7315 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/0.9241, allocations: 27.98 kB / 0.7315 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.969e-05/0.9242, allocations: 20 kB / 0.7315 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-05/0.9243, allocations: 11.95 kB / 0.7315 GB, free: 9.062 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.04868/0.9729, allocations: 18.33 MB / 0.7494 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.973, allocations: 0 / 0.7494 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.9747, allocations: 247.6 kB / 0.7496 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01808/0.9928, allocations: 6.229 MB / 0.7557 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008151/0.9937, allocations: 55.94 kB / 0.7558 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.355/1.349, allocations: 25.49 MB / 0.7807 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.349, allocations: 7.703 kB / 0.7807 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04559/1.394, allocations: 17.27 MB / 0.7976 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.396, allocations: 418 kB / 0.798 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005969/1.396, allocations: 52.55 kB / 0.798 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.399, allocations: 403.6 kB / 0.7984 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00226/1.402, allocations: 0.5827 MB / 0.799 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.402, allocations: 66.88 kB / 0.799 GB, free: 162 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002499/1.404, allocations: 1.483 MB / 0.8005 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.404, allocations: 1.062 kB / 0.8005 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00426/1.409, allocations: 1.176 MB / 0.8016 GB, free: 161.8 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.0474/1.456, allocations: 17.92 MB / 0.8191 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01636/1.472, allocations: 7.51 MB / 0.8265 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.472, allocations: 0 / 0.8265 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01192/1.484, allocations: 5.071 MB / 0.8314 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.488, allocations: 260 kB / 0.8317 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06875/1.557, allocations: 33.76 MB / 0.8646 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/1.558, allocations: 1.804 MB / 0.8664 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001491/1.56, allocations: 269.3 kB / 0.8666 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.561, allocations: 1.223 MB / 0.8678 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/1.561, allocations: 0 / 0.8678 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/1.665, allocations: 80.75 MB / 0.9467 GB, free: 30.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.666, allocations: 226.3 kB / 0.9469 GB, free: 30.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/5.755, allocations: 4.062 kB / 0.9469 GB, free: 30.62 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: