Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.001142/0.001142, allocations: 174.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008176/0.0008175, allocations: 95.36 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5071/0.5071, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.753e-05, allocations: 7.938 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 69.36 MB / 0.5414 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.5192, allocations: 98.11 MB / 0.6372 GB, free: 1.562 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.5194, allocations: 79.95 kB / 0.6373 GB, free: 1.484 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08464/0.6041, allocations: 30.48 MB / 0.6671 GB, free: 3.035 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6041, allocations: 4.75 kB / 0.6671 GB, free: 3.031 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.715e-05/0.6042, allocations: 20 kB / 0.6671 GB, free: 3.012 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004584/0.6088, allocations: 1.727 MB / 0.6688 GB, free: 1.223 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.6089, allocations: 12.03 kB / 0.6688 GB, free: 1.211 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003642/0.6125, allocations: 0.5563 MB / 0.6693 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.6141, allocations: 0.792 MB / 0.6701 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.6144, allocations: 210.4 kB / 0.6703 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.6145, allocations: 48 kB / 0.6704 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001451/0.616, allocations: 0.8057 MB / 0.6712 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.6175, allocations: 0.8416 MB / 0.672 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.6175, allocations: 3.938 kB / 0.672 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.6176, allocations: 4 kB / 0.672 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.6176, allocations: 16 kB / 0.672 GB, free: 13.84 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.006882/0.6245, allocations: 3.794 MB / 0.6757 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007287/0.6318, allocations: 2.588 MB / 0.6782 GB, free: 7.184 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/0.6328, allocations: 0.5214 MB / 0.6787 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.6329, allocations: 20.75 kB / 0.6788 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.633, allocations: 39.34 kB / 0.6788 GB, free: 6.594 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.585e-06/0.633, allocations: 0 / 0.6788 GB, free: 6.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01238/0.6454, allocations: 3.828 MB / 0.6825 GB, free: 2.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.6455, allocations: 141.3 kB / 0.6827 GB, free: 2.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.6469, allocations: 0.8397 MB / 0.6835 GB, free: 1.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.6471, allocations: 29.7 kB / 0.6835 GB, free: 1.695 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.6475, allocations: 0.509 MB / 0.684 GB, free: 1.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/0.6479, allocations: 327 kB / 0.6843 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.6479, allocations: 0 / 0.6843 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6481, allocations: 341.9 kB / 0.6847 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/0.6488, allocations: 438.6 kB / 0.6851 GB, free: 88 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/0.6496, allocations: 0.5506 MB / 0.6856 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008008/0.6504, allocations: 498.2 kB / 0.6861 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6505, allocations: 1.969 kB / 0.6861 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01238/0.6628, allocations: 3.884 MB / 0.6899 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006179/0.6635, allocations: 1.207 MB / 0.6911 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.6635, allocations: 0 / 0.6911 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/0.6688, allocations: 1.429 MB / 0.6925 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.6701, allocations: 187.8 kB / 0.6926 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.6839, allocations: 6.263 MB / 0.6987 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.6857, allocations: 175.2 kB / 0.6989 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.6858, allocations: 35.98 kB / 0.6989 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.6858, allocations: 0 / 0.6989 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01206/0.6979, allocations: 3.743 MB / 0.7026 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.698, allocations: 8 kB / 0.7026 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005226/0.7032, allocations: 1.422 MB / 0.704 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.7045, allocations: 187.8 kB / 0.7042 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.7178, allocations: 6.259 MB / 0.7103 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.7195, allocations: 163.3 kB / 0.7104 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.7196, allocations: 32 kB / 0.7105 GB, free: 5.66 MB / 0.5105 GB 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 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004169/0.72, allocations: 168.9 kB / 0.7106 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01248/0.7325, allocations: 3.816 MB / 0.7144 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009226/0.7335, allocations: 134.4 kB / 0.7145 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.7461, allocations: 3.905 MB / 0.7183 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.7462, allocations: 12.84 kB / 0.7183 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.7462, allocations: 6.812 kB / 0.7183 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.505e-05/0.7463, allocations: 7.984 kB / 0.7183 GB, free: 13.57 MB / 0.5261 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.01483/0.7611, allocations: 5.482 MB / 0.7237 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.7612, allocations: 0 / 0.7237 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.762, allocations: 115.9 kB / 0.7238 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004764/0.7668, allocations: 1.398 MB / 0.7252 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.7671, allocations: 8 kB / 0.7252 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.7791, allocations: 5.618 MB / 0.7307 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.7791, allocations: 5.344 kB / 0.7307 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.7926, allocations: 4.66 MB / 0.7352 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.7932, allocations: 223.4 kB / 0.7354 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.7935, allocations: 8 kB / 0.7354 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.7948, allocations: 130.4 kB / 0.7356 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004892/0.7953, allocations: 176.5 kB / 0.7357 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.235e-05/0.7954, allocations: 24 kB / 0.7358 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008688/0.7963, allocations: 0.6415 MB / 0.7364 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7963, allocations: 4 kB / 0.7364 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001865/0.7981, allocations: 0.6122 MB / 0.737 GB, free: 10.21 MB / 0.5417 GB 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,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 (68): * Single equations (assignments): 66 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01328/0.8114, allocations: 5.332 MB / 0.7422 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008459/0.8199, allocations: 3.482 MB / 0.7456 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.82, allocations: 4 kB / 0.7456 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/0.8237, allocations: 1.413 MB / 0.747 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/0.8246, allocations: 94.16 kB / 0.7471 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.8286, allocations: 2.003 MB / 0.749 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.8294, allocations: 1.162 MB / 0.7501 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008348/0.8302, allocations: 204.1 kB / 0.7503 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005679/0.8308, allocations: 463.3 kB / 0.7508 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of SimCode: time 1.913e-06/0.8308, allocations: 112 / 0.7508 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/1.154, allocations: 35.7 MB / 0.7856 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/1.154, allocations: 151.4 kB / 0.7858 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/4.37, allocations: 1.859 kB / 0.7858 GB, free: 145.6 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)