Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.000965/0.000965, allocations: 180.9 kB / 7.65 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.529/1.529, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008724/0.0008725, allocations: 88.97 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5062/0.5062, allocations: 78.13 MB / 409.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.078e-05, allocations: 7.938 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.181, allocations: 69.36 MB / 0.5414 GB, free: 6.879 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4169/0.5979, allocations: 97.85 MB / 0.637 GB, free: 1.789 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5982, allocations: 75.95 kB / 0.637 GB, free: 1.715 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0858/0.684, allocations: 30.91 MB / 0.6672 GB, free: 2.836 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.6841, allocations: 0 / 0.6672 GB, free: 2.836 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.172e-05/0.6841, allocations: 24 kB / 0.6673 GB, free: 2.812 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004049/0.6882, allocations: 1.703 MB / 0.6689 GB, free: 1.055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6883, allocations: 12.03 kB / 0.6689 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/0.6916, allocations: 0.5641 MB / 0.6695 GB, free: 488 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.6929, allocations: 0.7587 MB / 0.6702 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.6932, allocations: 240.2 kB / 0.6704 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.6933, allocations: 44 kB / 0.6705 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001406/0.6948, allocations: 0.8006 MB / 0.6713 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6962, allocations: 0.8212 MB / 0.6721 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.6962, allocations: 2.562 kB / 0.6721 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-05/0.6963, allocations: 0.5625 kB / 0.6721 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.6963, allocations: 20 kB / 0.6721 GB, free: 13.7 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.006343/0.7027, allocations: 3.666 MB / 0.6757 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007178/0.7099, allocations: 2.611 MB / 0.6782 GB, free: 7.156 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/0.7107, allocations: 0.5141 MB / 0.6787 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.7108, allocations: 16.77 kB / 0.6787 GB, free: 6.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.7118, allocations: 0.6411 MB / 0.6794 GB, free: 5.965 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.454e-06/0.7118, allocations: 0 / 0.6794 GB, free: 5.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01226/0.7241, allocations: 3.93 MB / 0.6832 GB, free: 2.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.7242, allocations: 119.9 kB / 0.6833 GB, free: 1.875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.7256, allocations: 0.8147 MB / 0.6841 GB, free: 1.047 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.7258, allocations: 25.7 kB / 0.6841 GB, free: 1.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.7261, allocations: 0.5214 MB / 0.6846 GB, free: 500 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.7265, allocations: 323.1 kB / 0.685 GB, free: 172 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.7266, allocations: 4 kB / 0.685 GB, free: 168 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7267, allocations: 341.9 kB / 0.6853 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.7274, allocations: 442.6 kB / 0.6857 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/0.7282, allocations: 0.5536 MB / 0.6862 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/0.7289, allocations: 488.8 kB / 0.6867 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7289, allocations: 0 / 0.6867 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01203/0.741, allocations: 3.954 MB / 0.6906 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.7411, allocations: 65 kB / 0.6906 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7411, allocations: 0 / 0.6906 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005703/0.7468, allocations: 1.514 MB / 0.6921 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7479, allocations: 175.8 kB / 0.6923 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.7609, allocations: 6.598 MB / 0.6987 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.7625, allocations: 183 kB / 0.6989 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.7626, allocations: 39.98 kB / 0.6989 GB, free: 1.648 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003343/0.763, allocations: 159 kB / 0.6991 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01181/0.7748, allocations: 3.93 MB / 0.7029 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000536/0.7754, allocations: 126.5 kB / 0.7031 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.7871, allocations: 4.028 MB / 0.707 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.7872, allocations: 12 kB / 0.707 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.7872, allocations: 7.984 kB / 0.707 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/0.7872, allocations: 7.969 kB / 0.707 GB, free: 9.336 MB / 0.5105 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.01332/0.8005, allocations: 5.512 MB / 0.7124 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.8006, allocations: 0.8438 kB / 0.7124 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/0.8012, allocations: 99.83 kB / 0.7125 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00465/0.8059, allocations: 1.482 MB / 0.7139 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.806, allocations: 11.98 kB / 0.714 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.8189, allocations: 7.531 MB / 0.7213 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.819, allocations: 4.781 kB / 0.7213 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.8317, allocations: 4.765 MB / 0.726 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/0.8323, allocations: 224 kB / 0.7262 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.8324, allocations: 4 kB / 0.7262 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.8336, allocations: 127.9 kB / 0.7263 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005497/0.8342, allocations: 196.9 kB / 0.7265 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.8343, allocations: 27.98 kB / 0.7265 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008508/0.8351, allocations: 0.6216 MB / 0.7271 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8351, allocations: 0 / 0.7271 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001283/0.8364, allocations: 395.5 kB / 0.7275 GB, free: 3.961 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.01319/0.8496, allocations: 5.434 MB / 0.7328 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004827/0.8545, allocations: 1.987 MB / 0.7347 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8545, allocations: 4 kB / 0.7348 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.8583, allocations: 1.534 MB / 0.7362 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.8591, allocations: 89.31 kB / 0.7363 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.8625, allocations: 1.799 MB / 0.7381 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.8631, allocations: 1.147 MB / 0.7392 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003706/0.8635, allocations: 94.67 kB / 0.7393 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/0.8641, allocations: 475.3 kB / 0.7398 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.8641, allocations: 0 / 0.7398 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3182/1.182, allocations: 28.66 MB / 0.7677 GB, free: 149 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.182, allocations: 158.9 kB / 0.7679 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.97, allocations: 2.047 kB / 0.7679 GB, free: 148.9 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)