Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006267/0.006267, allocations: 164.7 kB / 15.13 MB, free: 5.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 239.1 MB, free: 1.715 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007815/0.0007815, allocations: 93.78 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4598/0.4598, allocations: 78.61 MB / 420 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 12 kB / 500 MB, free: 2.805 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3816, allocations: 69.35 MB / 0.556 GB, free: 38.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006334/0.388, allocations: 6.076 MB / 0.5619 GB, free: 37.47 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.3925, allocations: 1.94 MB / 0.5638 GB, free: 36.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.3945, allocations: 11.5 kB / 0.5638 GB, free: 36.09 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009369/0.3954, allocations: 171.3 kB / 0.564 GB, free: 36.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.3985, allocations: 0.6734 MB / 0.5646 GB, free: 35.58 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.4, allocations: 0.5275 MB / 0.5652 GB, free: 35.33 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.4027, allocations: 1.459 MB / 0.5666 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.4033, allocations: 264.3 kB / 0.5668 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.4046, allocations: 0.5756 MB / 0.5674 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000994/0.4056, allocations: 0.7547 MB / 0.5681 GB, free: 33.92 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.4058, allocations: 62.69 kB / 0.5682 GB, free: 33.92 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.4064, allocations: 192.7 kB / 0.5684 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.4067, allocations: 260 kB / 0.5686 GB, free: 33.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.407, allocations: 235.5 kB / 0.5689 GB, free: 33.58 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.4081, allocations: 1.266 MB / 0.5701 GB, free: 33.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4081, allocations: 0 / 0.5701 GB, free: 33.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4081, allocations: 0 / 0.5701 GB, free: 33.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.4081, allocations: 0 / 0.5701 GB, free: 33.21 MB / 426.7 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.008244/0.4164, allocations: 2.57 MB / 0.5726 GB, free: 32.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4165, allocations: 14.02 kB / 0.5726 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003402/0.4168, allocations: 125 kB / 0.5727 GB, free: 31.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005056/0.4219, allocations: 0.7909 MB / 0.5735 GB, free: 31.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.4237, allocations: 0.8621 MB / 0.5743 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002609/0.424, allocations: 279.7 kB / 0.5746 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.4242, allocations: 85.25 kB / 0.5747 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.4263, allocations: 1.149 MB / 0.5758 GB, free: 30.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4264, allocations: 3.141 kB / 0.5758 GB, free: 30.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.4265, allocations: 33.03 kB / 0.5759 GB, free: 30.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4265, allocations: 22.2 kB / 0.5759 GB, free: 30.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.4284, allocations: 1.055 MB / 0.5769 GB, free: 30.21 MB / 426.7 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.006405/0.4348, allocations: 3.959 MB / 0.5808 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007892/0.4427, allocations: 2.921 MB / 0.5836 GB, free: 27.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.4443, allocations: 0.7572 MB / 0.5844 GB, free: 26.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.436e-05/0.4444, allocations: 15.5 kB / 0.5844 GB, free: 26.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/0.4459, allocations: 0.8902 MB / 0.5852 GB, free: 26.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.156e-06/0.4459, allocations: 0 / 0.5852 GB, free: 26.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.03125/0.4771, allocations: 8.794 MB / 0.5938 GB, free: 24.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.4772, allocations: 117.8 kB / 0.5939 GB, free: 24.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.479, allocations: 1.117 MB / 0.595 GB, free: 24.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002358/0.4793, allocations: 42.73 kB / 0.5951 GB, free: 24.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.4796, allocations: 0.4992 MB / 0.5956 GB, free: 23.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/0.4799, allocations: 360.8 kB / 0.5959 GB, free: 23.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.4801, allocations: 30.25 kB / 0.5959 GB, free: 23.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.4801, allocations: 369.4 kB / 0.5963 GB, free: 23.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.4818, allocations: 0.8348 MB / 0.5971 GB, free: 22.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.4837, allocations: 1.02 MB / 0.5981 GB, free: 22.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.4857, allocations: 0.9718 MB / 0.599 GB, free: 21.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.4857, allocations: 1.25 kB / 0.599 GB, free: 21.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01589/0.5016, allocations: 5.198 MB / 0.6041 GB, free: 20.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.879e-05/0.5018, allocations: 67.97 kB / 0.6042 GB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.5018, allocations: 3.812 kB / 0.6042 GB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007072/0.5089, allocations: 1.922 MB / 0.6061 GB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.5109, allocations: 320.4 kB / 0.6064 GB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.5312, allocations: 8.973 MB / 0.6151 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.5333, allocations: 234.7 kB / 0.6154 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5334, allocations: 59.97 kB / 0.6154 GB, free: 12.77 MB / 426.7 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.0005295/0.5339, allocations: 315.8 kB / 0.6157 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.5341, allocations: 130.4 kB / 0.6158 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.547, allocations: 4.741 MB / 0.6205 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.5471, allocations: 8 kB / 0.6205 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.5471, allocations: 8 kB / 0.6205 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.5471, allocations: 3.984 kB / 0.6205 GB, free: 7.523 MB / 426.7 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.01433/0.5615, allocations: 6.363 MB / 0.6267 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.5615, allocations: 0 / 0.6267 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.5623, allocations: 107.8 kB / 0.6268 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005643/0.5679, allocations: 1.868 MB / 0.6286 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.5682, allocations: 31.97 kB / 0.6287 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/0.5889, allocations: 9.675 MB / 0.6381 GB, free: 5.082 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5889, allocations: 4.062 kB / 0.6381 GB, free: 5.078 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/0.6051, allocations: 5.688 MB / 0.6437 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/0.6058, allocations: 227.2 kB / 0.6439 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.606, allocations: 24 kB / 0.6439 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.6073, allocations: 143.9 kB / 0.6441 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005768/0.6079, allocations: 196.6 kB / 0.6442 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.608, allocations: 28 kB / 0.6443 GB, free: 14.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.6092, allocations: 0.7514 MB / 0.645 GB, free: 13.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6092, allocations: 0 / 0.645 GB, free: 13.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001594/0.6108, allocations: 483.6 kB / 0.6455 GB, free: 13.5 MB / 458.7 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.01624/0.627, allocations: 6.249 MB / 0.6516 GB, free: 7.203 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007315/0.6344, allocations: 2.853 MB / 0.6543 GB, free: 4.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.6344, allocations: 4.688 kB / 0.6544 GB, free: 4.316 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004905/0.6393, allocations: 1.792 MB / 0.6561 GB, free: 2.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.6406, allocations: 121.2 kB / 0.6562 GB, free: 2.367 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/0.6683, allocations: 12.36 MB / 0.6683 GB, free: 5.652 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.669, allocations: 1.132 MB / 0.6694 GB, free: 4.488 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006253/0.6697, allocations: 120.1 kB / 0.6695 GB, free: 4.367 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/0.6704, allocations: 475.3 kB / 0.67 GB, free: 3.906 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6704, allocations: 0 / 0.67 GB, free: 3.906 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/0.7261, allocations: 32.63 MB / 0.7018 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.7264, allocations: 234.8 kB / 0.702 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/3.97, allocations: 4 kB / 0.7021 GB, free: 3.266 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)