Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.0009486/0.0009487, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.203/1.203, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008583/0.0008583, allocations: 88.03 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4254/0.4254, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.396e-05, allocations: 0 / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3, allocations: 69.5 MB / 0.5492 GB, free: 19.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.4103, allocations: 100 MB / 0.6469 GB, free: 15.61 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4106, allocations: 83.94 kB / 0.6469 GB, free: 15.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3418/0.7523, allocations: 32.79 MB / 0.679 GB, free: 104.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.7524, allocations: 0.9375 kB / 0.679 GB, free: 104.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.7525, allocations: 30.59 kB / 0.679 GB, free: 104.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00516/0.7577, allocations: 1.756 MB / 0.6807 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7577, allocations: 13.97 kB / 0.6807 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002249/0.758, allocations: 131.9 kB / 0.6808 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.7614, allocations: 0.5639 MB / 0.6814 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.7628, allocations: 0.7988 MB / 0.6822 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.7631, allocations: 266.5 kB / 0.6824 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.7633, allocations: 82.34 kB / 0.6825 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.7651, allocations: 0.9541 MB / 0.6834 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.7651, allocations: 0.7188 kB / 0.6834 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.7652, allocations: 39.02 kB / 0.6835 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.7653, allocations: 20.5 kB / 0.6835 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.7668, allocations: 0.854 MB / 0.6843 GB, free: 102.8 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006267/0.7731, allocations: 3.89 MB / 0.6881 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006599/0.7797, allocations: 2.691 MB / 0.6908 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008701/0.7806, allocations: 0.5629 MB / 0.6913 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.7808, allocations: 12.23 kB / 0.6913 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009805/0.7817, allocations: 0.6943 MB / 0.692 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.086e-06/0.7818, allocations: 0 / 0.692 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01137/0.7931, allocations: 4.063 MB / 0.696 GB, free: 100.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.7932, allocations: 111.9 kB / 0.6961 GB, free: 100.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.7946, allocations: 0.9363 MB / 0.697 GB, free: 100 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002082/0.7948, allocations: 41.33 kB / 0.697 GB, free: 99.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.7951, allocations: 0.5192 MB / 0.6975 GB, free: 99.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.7955, allocations: 353.8 kB / 0.6979 GB, free: 99.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.7955, allocations: 19.81 kB / 0.6979 GB, free: 99.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.7956, allocations: 347.9 kB / 0.6982 GB, free: 98.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.7963, allocations: 478.9 kB / 0.6987 GB, free: 98.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.7971, allocations: 0.5984 MB / 0.6993 GB, free: 98.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.7979, allocations: 0.5692 MB / 0.6998 GB, free: 98.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.7979, allocations: 7.719 kB / 0.6998 GB, free: 98.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01124/0.8091, allocations: 4.197 MB / 0.7039 GB, free: 97.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.8092, allocations: 59.09 kB / 0.704 GB, free: 97.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8092, allocations: 3.812 kB / 0.704 GB, free: 97.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005407/0.8146, allocations: 1.624 MB / 0.7056 GB, free: 96.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/0.8156, allocations: 179 kB / 0.7057 GB, free: 96.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.8288, allocations: 8.127 MB / 0.7137 GB, free: 89.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.8305, allocations: 205.9 kB / 0.7139 GB, free: 89.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.8306, allocations: 35.42 kB / 0.7139 GB, free: 89.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.8309, allocations: 195.9 kB / 0.7141 GB, free: 89.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.8311, allocations: 130.2 kB / 0.7142 GB, free: 89.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.8422, allocations: 4.183 MB / 0.7183 GB, free: 85.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.8422, allocations: 12 kB / 0.7183 GB, free: 85.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.8422, allocations: 8 kB / 0.7183 GB, free: 85.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.8423, allocations: 7.797 kB / 0.7183 GB, free: 85.89 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01273/0.855, allocations: 5.794 MB / 0.724 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.855, allocations: 3.469 kB / 0.724 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/0.8557, allocations: 109.2 kB / 0.7241 GB, free: 81.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004328/0.8601, allocations: 1.5 MB / 0.7256 GB, free: 80.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.8602, allocations: 20 kB / 0.7256 GB, free: 79.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.8719, allocations: 7.702 MB / 0.7331 GB, free: 72.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.872, allocations: 4 kB / 0.7331 GB, free: 72.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/0.8841, allocations: 4.943 MB / 0.7379 GB, free: 67.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006046/0.8848, allocations: 239.2 kB / 0.7382 GB, free: 67.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.885, allocations: 24.09 kB / 0.7382 GB, free: 67.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.8863, allocations: 147.8 kB / 0.7383 GB, free: 67.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005719/0.8869, allocations: 192.7 kB / 0.7385 GB, free: 66.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-05/0.887, allocations: 31.98 kB / 0.7385 GB, free: 66.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008267/0.8878, allocations: 0.718 MB / 0.7392 GB, free: 66.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8878, allocations: 4 kB / 0.7392 GB, free: 66.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001194/0.889, allocations: 463.4 kB / 0.7397 GB, free: 65.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01224/0.9013, allocations: 5.611 MB / 0.7452 GB, free: 59.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004724/0.906, allocations: 2.249 MB / 0.7474 GB, free: 57.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9061, allocations: 0 / 0.7474 GB, free: 57.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.9095, allocations: 1.622 MB / 0.7489 GB, free: 56.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.9104, allocations: 104.6 kB / 0.749 GB, free: 55.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.9138, allocations: 2.137 MB / 0.7511 GB, free: 53.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.9143, allocations: 1.158 MB / 0.7523 GB, free: 52.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.9146, allocations: 102.2 kB / 0.7524 GB, free: 52.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/0.9152, allocations: 487.3 kB / 0.7528 GB, free: 52 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/0.9152, allocations: 0 / 0.7528 GB, free: 52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/0.9586, allocations: 32 MB / 0.7841 GB, free: 20.52 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001313/0.9588, allocations: 184.1 kB / 0.7843 GB, free: 20.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/3.754, allocations: 0 / 0.7843 GB, free: 20.3 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)