Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.00134/0.00134, allocations: 99.94 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.233/1.233, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001045/0.001045, allocations: 185.1 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4115/0.4115, allocations: 79.45 MB / 420.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 16 kB / 0.4891 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3033, allocations: 69.51 MB / 0.557 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.00852/0.3119, allocations: 12.28 MB / 0.5689 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.3182, allocations: 3.636 MB / 0.5725 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.3205, allocations: 30.84 kB / 0.5725 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.3221, allocations: 393.6 kB / 0.5729 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.3263, allocations: 1.357 MB / 0.5742 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.3293, allocations: 1.284 MB / 0.5755 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004067/0.3334, allocations: 2.413 MB / 0.5778 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.3345, allocations: 0.6975 MB / 0.5785 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.3362, allocations: 1.344 MB / 0.5798 GB, free: 28.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.3381, allocations: 1.716 MB / 0.5815 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008783/0.339, allocations: 145.3 kB / 0.5816 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.3403, allocations: 259.2 kB / 0.5819 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000581/0.3409, allocations: 0.5954 MB / 0.5825 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009796/0.3419, allocations: 0.5232 MB / 0.583 GB, free: 26.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.3447, allocations: 2.872 MB / 0.5858 GB, free: 25.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3447, allocations: 0 / 0.5858 GB, free: 25.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3447, allocations: 3.938 kB / 0.5858 GB, free: 25.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.3448, allocations: 0 / 0.5858 GB, free: 25.94 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02082/0.3657, allocations: 6.255 MB / 0.5919 GB, free: 23.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3657, allocations: 9.156 kB / 0.5919 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000835/0.3666, allocations: 308.3 kB / 0.5922 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/0.3817, allocations: 2.292 MB / 0.5944 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/0.3863, allocations: 1.811 MB / 0.5962 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007805/0.3872, allocations: 0.7518 MB / 0.5969 GB, free: 21.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008366/0.388, allocations: 220.8 kB / 0.5972 GB, free: 21.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007802/0.3958, allocations: 3.23 MB / 0.6003 GB, free: 20.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.3959, allocations: 1.031 kB / 0.6003 GB, free: 20.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.3962, allocations: 87.44 kB / 0.6004 GB, free: 19.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.3962, allocations: 48.44 kB / 0.6004 GB, free: 19.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006394/0.4026, allocations: 2.986 MB / 0.6034 GB, free: 19.01 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.01962/0.4223, allocations: 10.52 MB / 0.6136 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.4339, allocations: 4.892 MB / 0.6184 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.4343, allocations: 48.16 kB / 0.6185 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004948/0.4393, allocations: 2.438 MB / 0.6208 GB, free: 9.891 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 9.097e-06/0.4393, allocations: 0 / 0.6208 GB, free: 9.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1271/0.5664, allocations: 35.4 MB / 0.6554 GB, free: 7.383 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.5666, allocations: 184.2 kB / 0.6556 GB, free: 7.164 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/0.5702, allocations: 2.306 MB / 0.6578 GB, free: 4.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006245/0.5709, allocations: 73.7 kB / 0.6579 GB, free: 4.762 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008793/0.5718, allocations: 1.184 MB / 0.6591 GB, free: 3.566 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.5729, allocations: 0.878 MB / 0.6599 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.5732, allocations: 64 kB / 0.66 GB, free: 2.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5734, allocations: 433 kB / 0.6604 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/0.578, allocations: 2.177 MB / 0.6625 GB, free: 4 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005019/0.5831, allocations: 2.531 MB / 0.665 GB, free: 13.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00499/0.5881, allocations: 2.44 MB / 0.6674 GB, free: 10.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.5881, allocations: 4 kB / 0.6674 GB, free: 10.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04492/0.633, allocations: 15.31 MB / 0.6823 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-05/0.6332, allocations: 128.3 kB / 0.6825 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.6332, allocations: 8.625 kB / 0.6825 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02092/0.6541, allocations: 6.494 MB / 0.6888 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/0.6572, allocations: 0.5811 MB / 0.6894 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06813/0.7253, allocations: 27.87 MB / 0.7166 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/0.7303, allocations: 0.587 MB / 0.7172 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006907/0.731, allocations: 121.3 kB / 0.7173 GB, free: 7.453 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.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 (334): * Single equations (assignments): 328 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001841/0.7329, allocations: 0.5312 MB / 0.7178 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009787/0.7339, allocations: 300.2 kB / 0.7181 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04476/0.7786, allocations: 14.78 MB / 0.7325 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/0.7787, allocations: 24 kB / 0.7325 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-05/0.7788, allocations: 24 kB / 0.7326 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.945e-05/0.7789, allocations: 11.95 kB / 0.7326 GB, free: 7.676 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.05194/0.8308, allocations: 18.51 MB / 0.7506 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/0.8309, allocations: 9.531 kB / 0.7507 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.8326, allocations: 251.7 kB / 0.7509 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01933/0.8519, allocations: 6.267 MB / 0.757 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006488/0.8526, allocations: 51.98 kB / 0.7571 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2691/1.122, allocations: 26.86 MB / 0.7833 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.122, allocations: 2.719 kB / 0.7833 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04868/1.17, allocations: 17.38 MB / 0.8003 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.172, allocations: 427.1 kB / 0.8007 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.173, allocations: 47 kB / 0.8007 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004102/1.177, allocations: 411.4 kB / 0.8011 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00264/1.18, allocations: 0.5823 MB / 0.8017 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005521/1.18, allocations: 63.94 kB / 0.8018 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002947/1.183, allocations: 1.526 MB / 0.8032 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.41e-07/1.183, allocations: 0 / 0.8032 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004241/1.187, allocations: 1.201 MB / 0.8044 GB, free: 156.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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.04734/1.235, allocations: 18.15 MB / 0.8221 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0185/1.253, allocations: 7.695 MB / 0.8297 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.253, allocations: 0 / 0.8297 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01346/1.267, allocations: 5.106 MB / 0.8346 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.269, allocations: 217 kB / 0.8348 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.282, allocations: 11.97 MB / 0.8465 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.283, allocations: 1.884 MB / 0.8484 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001165/1.284, allocations: 258.8 kB / 0.8486 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.286, allocations: 1.233 MB / 0.8498 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.286, allocations: 0 / 0.8498 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.397, allocations: 80.01 MB / 0.928 GB, free: 44.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/1.397, allocations: 219.4 kB / 0.9282 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.054/5.451, allocations: 3.875 kB / 0.9282 GB, free: 44.15 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: