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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0009308/0.0009306, allocations: 174.9 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.182/1.182, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008142/0.0008141, allocations: 96.11 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.443/0.443, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.77e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3276, allocations: 69.51 MB / 0.5492 GB, free: 19.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.4462, allocations: 99.77 MB / 0.6466 GB, free: 15.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4465, allocations: 83.95 kB / 0.6467 GB, free: 15.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3427/0.7892, allocations: 32.36 MB / 0.6783 GB, free: 104.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7892, allocations: 0 / 0.6783 GB, free: 104.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.7893, allocations: 24.75 kB / 0.6784 GB, free: 104.2 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004631/0.794, allocations: 1.734 MB / 0.68 GB, free: 103.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.794, allocations: 15.48 kB / 0.6801 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.7943, allocations: 125.5 kB / 0.6802 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.7977, allocations: 0.5675 MB / 0.6807 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.7993, allocations: 0.7904 MB / 0.6815 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.7996, allocations: 267.1 kB / 0.6818 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.7998, allocations: 76.94 kB / 0.6818 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.8016, allocations: 0.9446 MB / 0.6828 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.8016, allocations: 1.859 kB / 0.6828 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.8017, allocations: 34.83 kB / 0.6828 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.8017, allocations: 19.17 kB / 0.6828 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.8033, allocations: 0.8528 MB / 0.6836 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.006736/0.81, allocations: 3.854 MB / 0.6874 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00679/0.8168, allocations: 2.673 MB / 0.69 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/0.8176, allocations: 0.5539 MB / 0.6906 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.8177, allocations: 21.02 kB / 0.6906 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009037/0.8187, allocations: 0.687 MB / 0.6912 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.965e-06/0.8187, allocations: 0 / 0.6912 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01161/0.8303, allocations: 4.044 MB / 0.6952 GB, free: 100.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.8304, allocations: 117.1 kB / 0.6953 GB, free: 100.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.8317, allocations: 0.9195 MB / 0.6962 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002443/0.8319, allocations: 44.2 kB / 0.6962 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.8322, allocations: 0.5139 MB / 0.6968 GB, free: 99.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.8325, allocations: 348.9 kB / 0.6971 GB, free: 99.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.8326, allocations: 19.28 kB / 0.6971 GB, free: 99.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.8326, allocations: 347.7 kB / 0.6974 GB, free: 99.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.8333, allocations: 473.6 kB / 0.6979 GB, free: 98.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.834, allocations: 0.5852 MB / 0.6985 GB, free: 98.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.8348, allocations: 0.568 MB / 0.699 GB, free: 98.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8348, allocations: 0 / 0.699 GB, free: 98.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01108/0.8459, allocations: 4.117 MB / 0.703 GB, free: 97.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.846, allocations: 62.81 kB / 0.7031 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.846, allocations: 3.938 kB / 0.7031 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005076/0.8511, allocations: 1.549 MB / 0.7046 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.8523, allocations: 198.6 kB / 0.7048 GB, free: 97.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.8645, allocations: 6.728 MB / 0.7114 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.8663, allocations: 209.6 kB / 0.7116 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.8664, allocations: 42.8 kB / 0.7116 GB, free: 91.42 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * 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: 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.0002492/0.8666, allocations: 186.8 kB / 0.7118 GB, free: 91.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.8668, allocations: 134.4 kB / 0.7119 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.8776, allocations: 4.174 MB / 0.716 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.8777, allocations: 11.75 kB / 0.716 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.8777, allocations: 12 kB / 0.716 GB, free: 87.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.8777, allocations: 3.938 kB / 0.716 GB, free: 87.82 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.01227/0.89, allocations: 5.75 MB / 0.7216 GB, free: 83.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.89, allocations: 0 / 0.7216 GB, free: 83.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.8906, allocations: 98.72 kB / 0.7217 GB, free: 83.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004272/0.8949, allocations: 1.505 MB / 0.7232 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.895, allocations: 27.94 kB / 0.7232 GB, free: 81.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.9065, allocations: 7.702 MB / 0.7307 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9065, allocations: 3.953 kB / 0.7307 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/0.9182, allocations: 4.917 MB / 0.7355 GB, free: 69.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.9187, allocations: 242.9 kB / 0.7358 GB, free: 69.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.9189, allocations: 16 kB / 0.7358 GB, free: 69.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.92, allocations: 143.9 kB / 0.7359 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/0.9205, allocations: 200.6 kB / 0.7361 GB, free: 69.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/0.9206, allocations: 20.11 kB / 0.7361 GB, free: 69.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007813/0.9214, allocations: 0.7175 MB / 0.7368 GB, free: 68.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9214, allocations: 4 kB / 0.7368 GB, free: 68.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00106/0.9225, allocations: 451.5 kB / 0.7373 GB, free: 68.02 MB / 490.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 () * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01167/0.9342, allocations: 5.587 MB / 0.7427 GB, free: 62.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004401/0.9386, allocations: 2.117 MB / 0.7448 GB, free: 60.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9386, allocations: 0 / 0.7448 GB, free: 60.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003389/0.942, allocations: 1.597 MB / 0.7464 GB, free: 58.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/0.9429, allocations: 108.5 kB / 0.7465 GB, free: 58.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.9463, allocations: 2.039 MB / 0.7485 GB, free: 56.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.9467, allocations: 1.15 MB / 0.7496 GB, free: 55.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003685/0.947, allocations: 98.41 kB / 0.7497 GB, free: 55.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.9475, allocations: 475.3 kB / 0.7501 GB, free: 54.71 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.9475, allocations: 0 / 0.7501 GB, free: 54.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04311/0.9906, allocations: 31.44 MB / 0.7808 GB, free: 23.81 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/0.9908, allocations: 184.1 kB / 0.781 GB, free: 23.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.677, allocations: 0 / 0.781 GB, free: 23.59 MB / 490.7 MB (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)