Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.001013/0.001013, allocations: 98.92 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.435/1.435, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.00143/0.00143, allocations: 181 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.487/0.487, allocations: 79.46 MB / 420.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004229, allocations: 12 kB / 0.4891 GB, free: 5.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3909, allocations: 69.5 MB / 0.557 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005547/0.3965, allocations: 5.813 MB / 0.5626 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00435/0.4009, allocations: 1.977 MB / 0.5646 GB, free: 37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009616/0.4019, allocations: 12.09 kB / 0.5646 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007138/0.4026, allocations: 172.7 kB / 0.5647 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.4047, allocations: 0.7256 MB / 0.5655 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.4059, allocations: 0.5254 MB / 0.566 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.4072, allocations: 1.019 MB / 0.567 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.4076, allocations: 272.5 kB / 0.5672 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.4082, allocations: 0.5833 MB / 0.5678 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007348/0.409, allocations: 0.7393 MB / 0.5685 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.4091, allocations: 62.06 kB / 0.5686 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.4096, allocations: 177 kB / 0.5687 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.4098, allocations: 259.1 kB / 0.569 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.4101, allocations: 233 kB / 0.5692 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.4111, allocations: 1.222 MB / 0.5704 GB, free: 35.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4111, allocations: 0 / 0.5704 GB, free: 35.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4111, allocations: 2.156 kB / 0.5704 GB, free: 35.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.4111, allocations: 3.062 kB / 0.5704 GB, free: 35.55 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008301/0.4194, allocations: 2.572 MB / 0.5729 GB, free: 34.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4195, allocations: 9.094 kB / 0.5729 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003025/0.4198, allocations: 130.5 kB / 0.5731 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/0.425, allocations: 0.7893 MB / 0.5738 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.4266, allocations: 0.8586 MB / 0.5747 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.4269, allocations: 274.2 kB / 0.5749 GB, free: 33.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.4271, allocations: 86.94 kB / 0.575 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.4292, allocations: 1.147 MB / 0.5761 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.4292, allocations: 0 / 0.5761 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.4293, allocations: 35.45 kB / 0.5762 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.4293, allocations: 20.95 kB / 0.5762 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.4313, allocations: 1.052 MB / 0.5772 GB, free: 32.62 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.006321/0.4376, allocations: 4.17 MB / 0.5813 GB, free: 30.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007575/0.4452, allocations: 2.931 MB / 0.5841 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.4453, allocations: 11.88 kB / 0.5842 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.4471, allocations: 0.8864 MB / 0.585 GB, free: 28.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.454e-06/0.4471, allocations: 0 / 0.585 GB, free: 28.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03163/0.4787, allocations: 8.793 MB / 0.5936 GB, free: 27.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.4788, allocations: 117.7 kB / 0.5937 GB, free: 27.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.4808, allocations: 1.119 MB / 0.5948 GB, free: 26.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.481, allocations: 41.98 kB / 0.5949 GB, free: 26.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.4814, allocations: 0.4932 MB / 0.5953 GB, free: 26.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.4818, allocations: 369.3 kB / 0.5957 GB, free: 26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.4819, allocations: 31.81 kB / 0.5957 GB, free: 25.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.482, allocations: 362.1 kB / 0.5961 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.4837, allocations: 0.8375 MB / 0.5969 GB, free: 25.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.4855, allocations: 1.007 MB / 0.5979 GB, free: 24.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.4873, allocations: 0.9792 MB / 0.5988 GB, free: 24.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4874, allocations: 0 / 0.5988 GB, free: 24.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01547/0.5028, allocations: 5.203 MB / 0.6039 GB, free: 23.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.7e-05/0.5029, allocations: 59.58 kB / 0.604 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5029, allocations: 3.781 kB / 0.604 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006937/0.5099, allocations: 1.928 MB / 0.6058 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.5118, allocations: 315.2 kB / 0.6061 GB, free: 22.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/0.5335, allocations: 9.407 MB / 0.6153 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.5356, allocations: 244 kB / 0.6156 GB, free: 16.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.5358, allocations: 55.97 kB / 0.6156 GB, free: 16.39 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005788/0.5364, allocations: 306.7 kB / 0.6159 GB, free: 16.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.5365, allocations: 140.9 kB / 0.616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.549, allocations: 4.729 MB / 0.6207 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5491, allocations: 12 kB / 0.6207 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.5491, allocations: 8.75 kB / 0.6207 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.5491, allocations: 7.922 kB / 0.6207 GB, free: 11.16 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 postOpt removeSimpleEquations (simulation): time 0.01418/0.5633, allocations: 6.41 MB / 0.6269 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.5633, allocations: 4 kB / 0.627 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.564, allocations: 99.89 kB / 0.627 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005355/0.5693, allocations: 1.868 MB / 0.6289 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.5695, allocations: 24.98 kB / 0.6289 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/0.5902, allocations: 10.13 MB / 0.6388 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5902, allocations: 0 / 0.6388 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.6063, allocations: 5.693 MB / 0.6444 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006902/0.607, allocations: 227.2 kB / 0.6446 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.6072, allocations: 25.31 kB / 0.6446 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.6085, allocations: 151.8 kB / 0.6447 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006755/0.6092, allocations: 197.5 kB / 0.6449 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.6093, allocations: 24 kB / 0.6449 GB, free: 1.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001286/0.6106, allocations: 0.749 MB / 0.6457 GB, free: 1.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.6106, allocations: 4.109 kB / 0.6457 GB, free: 1.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002144/0.6127, allocations: 483.5 kB / 0.6461 GB, free: 0.6133 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01651/0.6293, allocations: 6.344 MB / 0.6523 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007105/0.6364, allocations: 2.841 MB / 0.6551 GB, free: 7.344 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6364, allocations: 0.75 kB / 0.6551 GB, free: 7.344 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004513/0.641, allocations: 1.793 MB / 0.6569 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.6419, allocations: 94.47 kB / 0.657 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.6479, allocations: 5.159 MB / 0.662 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.6486, allocations: 1.159 MB / 0.6631 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004426/0.6491, allocations: 116.5 kB / 0.6632 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006142/0.6497, allocations: 475.3 kB / 0.6637 GB, free: 14.45 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6497, allocations: 0 / 0.6637 GB, free: 14.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/0.7034, allocations: 31.73 MB / 0.6947 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.7037, allocations: 236.7 kB / 0.6949 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.297, allocations: 0 / 0.6949 GB, free: 14.88 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: