Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.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.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",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.001093/0.001093, allocations: 172.8 kB / 12.73 MB, free: 2.586 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.221/1.221, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009002/0.0009002, allocations: 95.47 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.436/0.436, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.028e-05, allocations: 7.984 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3401, allocations: 69.49 MB / 0.5492 GB, free: 19.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4643, allocations: 102.8 MB / 0.6496 GB, free: 12.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4646, allocations: 75.97 kB / 0.6497 GB, free: 12.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5286/0.9932, allocations: 101.5 MB / 0.7488 GB, free: 58.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.9933, allocations: 0 / 0.7488 GB, free: 58.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002042/0.9935, allocations: 87.94 kB / 0.7489 GB, free: 58.66 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01621/1.01, allocations: 5.779 MB / 0.7545 GB, free: 52.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.01, allocations: 11.97 kB / 0.7545 GB, free: 52.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001452/1.011, allocations: 484.8 kB / 0.755 GB, free: 52.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/1.028, allocations: 2.783 MB / 0.7577 GB, free: 49.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005936/1.034, allocations: 2.29 MB / 0.7599 GB, free: 47.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007677/1.034, allocations: 0.9596 MB / 0.7609 GB, free: 46.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/1.035, allocations: 336 kB / 0.7612 GB, free: 45.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006693/1.042, allocations: 4.089 MB / 0.7652 GB, free: 41.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.153e-05/1.042, allocations: 0 / 0.7652 GB, free: 41.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/1.043, allocations: 147.9 kB / 0.7653 GB, free: 41.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/1.043, allocations: 88 kB / 0.7654 GB, free: 41.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005855/1.049, allocations: 3.617 MB / 0.7689 GB, free: 37.76 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.02951/1.078, allocations: 18.72 MB / 0.7872 GB, free: 17.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/1.087, allocations: 4.772 MB / 0.7919 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003191/1.09, allocations: 2.233 MB / 0.7941 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/1.091, allocations: 62.92 kB / 0.7941 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.091, allocations: 81.48 kB / 0.7942 GB, free: 10.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 5.36e-06/1.091, allocations: 0 / 0.7942 GB, free: 10.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.04849/1.139, allocations: 17.47 MB / 0.8113 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/1.14, allocations: 167.5 kB / 0.8114 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004455/1.144, allocations: 2.681 MB / 0.814 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009787/1.145, allocations: 89.7 kB / 0.8141 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/1.147, allocations: 1.999 MB / 0.8161 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001886/1.148, allocations: 1.301 MB / 0.8173 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/1.149, allocations: 76 kB / 0.8174 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002179/1.149, allocations: 441.6 kB / 0.8178 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/1.152, allocations: 1.823 MB / 0.8196 GB, free: 412 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00373/1.156, allocations: 2.41 MB / 0.822 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/1.16, allocations: 2.09 MB / 0.824 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/1.16, allocations: 4 kB / 0.824 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05074/1.211, allocations: 17.67 MB / 0.8413 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002278/1.213, allocations: 6.685 MB / 0.8478 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-05/1.213, allocations: 12 kB / 0.8478 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02354/1.236, allocations: 6.89 MB / 0.8545 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/1.24, allocations: 0.5578 MB / 0.8551 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06402/1.304, allocations: 25.42 MB / 0.8799 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006245/1.31, allocations: 0.7074 MB / 0.8806 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009363/1.311, allocations: 140 kB / 0.8807 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.311, allocations: 4 kB / 0.8807 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3797/1.691, allocations: 17.25 MB / 0.8976 GB, free: 123.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.344e-05/1.691, allocations: 15.34 kB / 0.8976 GB, free: 123.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0228/1.714, allocations: 6.883 MB / 0.9043 GB, free: 123.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/1.717, allocations: 0.5591 MB / 0.9049 GB, free: 123.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05314/1.77, allocations: 25.4 MB / 0.9297 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005731/1.776, allocations: 0.6802 MB / 0.9303 GB, free: 122.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005933/1.777, allocations: 137.3 kB / 0.9305 GB, free: 122.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008921/1.778, allocations: 331.5 kB / 0.9308 GB, free: 121.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.779, allocations: 456.2 kB / 0.9312 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04811/1.827, allocations: 18.01 MB / 0.9488 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.234e-05/1.827, allocations: 39.36 kB / 0.9488 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-05/1.827, allocations: 27.69 kB / 0.9489 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001057/1.827, allocations: 27.08 kB / 0.9489 GB, free: 118.4 MB / 0.573 GB 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.05355/1.88, allocations: 23.29 MB / 0.9716 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/1.881, allocations: 0 / 0.9716 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/1.883, allocations: 404.8 kB / 0.972 GB, free: 112.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02001/1.903, allocations: 6.97 MB / 0.9788 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007447/1.904, allocations: 74.95 kB / 0.9789 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04439/1.948, allocations: 22.53 MB / 1.001 GB, free: 87.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.948, allocations: 4 kB / 1.001 GB, free: 87.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05267/2.001, allocations: 20.84 MB / 1.021 GB, free: 70.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/2.003, allocations: 0.5597 MB / 1.022 GB, free: 69.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/2.004, allocations: 67.61 kB / 1.022 GB, free: 69.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004265/2.008, allocations: 0.5024 MB / 1.022 GB, free: 69.25 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002623/2.011, allocations: 0.768 MB / 1.023 GB, free: 68.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002944/2.011, allocations: 95.8 kB / 1.023 GB, free: 68.74 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002494/2.014, allocations: 2.036 MB / 1.025 GB, free: 66.86 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/2.014, allocations: 0 / 1.025 GB, free: 66.86 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007341/2.021, allocations: 2.872 MB / 1.028 GB, free: 64.11 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05196/2.073, allocations: 21.58 MB / 1.049 GB, free: 46.25 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03523/2.108, allocations: 14.43 MB / 1.063 GB, free: 33.19 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.108, allocations: 4 kB / 1.063 GB, free: 33.19 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01703/2.125, allocations: 5.996 MB / 1.069 GB, free: 27.89 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/2.129, allocations: 313 kB / 1.069 GB, free: 27.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/2.143, allocations: 6.792 MB / 1.076 GB, free: 21.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/2.145, allocations: 2.598 MB / 1.078 GB, free: 19.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002494/2.147, allocations: 0.6108 MB / 1.079 GB, free: 19.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/2.149, allocations: 1.95 MB / 1.081 GB, free: 17.39 MB / 0.573 GB Notification: Performance of SimCode: time 9.22e-07/2.149, allocations: 0 / 1.081 GB, free: 17.39 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.51/2.659, allocations: 148.2 MB / 1.226 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/2.659, allocations: 179.8 kB / 1.226 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/10.56, allocations: 7.375 kB / 1.226 GB, free: 111.9 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)