Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.001235/0.001235, allocations: 174.7 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.21/1.21, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0008816/0.0008818, allocations: 100.8 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4489/0.4489, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.422e-05/2.424e-05, allocations: 0 / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.313, allocations: 69.5 MB / 0.5492 GB, free: 19.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4279, allocations: 99.1 MB / 0.646 GB, free: 496 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4282, allocations: 79.95 kB / 0.6461 GB, free: 416 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08311/0.5113, allocations: 31.49 MB / 0.6768 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5113, allocations: 0 / 0.6768 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.251e-05/0.5114, allocations: 24 kB / 0.6768 GB, free: 0.6875 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.2641/0.7755, allocations: 1.695 MB / 0.6785 GB, free: 103.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.7756, allocations: 16.91 kB / 0.6785 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/0.7759, allocations: 125.1 kB / 0.6786 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.7793, allocations: 0.5573 MB / 0.6792 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.7806, allocations: 0.7658 MB / 0.6799 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.7808, allocations: 266.8 kB / 0.6802 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.781, allocations: 80.36 kB / 0.6802 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.7827, allocations: 0.9299 MB / 0.6812 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.7827, allocations: 3.953 kB / 0.6812 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.7828, allocations: 31 kB / 0.6812 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.7829, allocations: 21.59 kB / 0.6812 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.7843, allocations: 0.8371 MB / 0.682 GB, free: 103.2 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.006134/0.7905, allocations: 3.792 MB / 0.6857 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006891/0.7974, allocations: 2.655 MB / 0.6883 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006794/0.7981, allocations: 0.5379 MB / 0.6889 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.7982, allocations: 17.59 kB / 0.6889 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008699/0.7991, allocations: 0.6694 MB / 0.6895 GB, free: 101.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.375e-06/0.7991, allocations: 0 / 0.6895 GB, free: 101.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01061/0.8097, allocations: 4.029 MB / 0.6935 GB, free: 101.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.8097, allocations: 113.5 kB / 0.6936 GB, free: 101.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009374/0.8107, allocations: 0.8939 MB / 0.6944 GB, free: 100.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.8108, allocations: 41.67 kB / 0.6945 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.811, allocations: 0.5035 MB / 0.695 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.8112, allocations: 344.3 kB / 0.6953 GB, free: 99.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.8113, allocations: 19.53 kB / 0.6953 GB, free: 99.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.8114, allocations: 347.7 kB / 0.6956 GB, free: 99.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.812, allocations: 453.2 kB / 0.6961 GB, free: 99.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.8127, allocations: 0.5804 MB / 0.6966 GB, free: 99.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.8135, allocations: 0.5463 MB / 0.6972 GB, free: 98.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8135, allocations: 0 / 0.6972 GB, free: 98.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01075/0.8242, allocations: 4.089 MB / 0.7012 GB, free: 97.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.8243, allocations: 58.03 kB / 0.7012 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8243, allocations: 10.75 kB / 0.7012 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004786/0.8291, allocations: 1.521 MB / 0.7027 GB, free: 97.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.8299, allocations: 185.9 kB / 0.7029 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.8414, allocations: 6.783 MB / 0.7095 GB, free: 92.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.8427, allocations: 200.7 kB / 0.7097 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/0.8428, allocations: 42.28 kB / 0.7098 GB, free: 92.38 MB / 490.7 MB 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.0002232/0.843, allocations: 190.9 kB / 0.7099 GB, free: 92.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.8432, allocations: 133.2 kB / 0.7101 GB, free: 92.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.8536, allocations: 4.147 MB / 0.7141 GB, free: 88.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.8537, allocations: 12 kB / 0.7141 GB, free: 88.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8537, allocations: 11.95 kB / 0.7141 GB, free: 88.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.8537, allocations: 7.125 kB / 0.7141 GB, free: 88.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 postOpt removeSimpleEquations (simulation): time 0.01164/0.8653, allocations: 5.695 MB / 0.7197 GB, free: 84.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8654, allocations: 3.938 kB / 0.7197 GB, free: 84.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.8658, allocations: 95.75 kB / 0.7198 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004293/0.8702, allocations: 1.514 MB / 0.7213 GB, free: 83.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.8703, allocations: 20 kB / 0.7213 GB, free: 82.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.8821, allocations: 7.701 MB / 0.7288 GB, free: 75.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8821, allocations: 4 kB / 0.7288 GB, free: 75.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.8933, allocations: 4.868 MB / 0.7336 GB, free: 70.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.8936, allocations: 227.2 kB / 0.7338 GB, free: 70.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.8938, allocations: 31.84 kB / 0.7338 GB, free: 70.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.8951, allocations: 139.9 kB / 0.734 GB, free: 70.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/0.8955, allocations: 196.7 kB / 0.7341 GB, free: 70.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.8956, allocations: 31.98 kB / 0.7342 GB, free: 70.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009088/0.8966, allocations: 0.6898 MB / 0.7348 GB, free: 69.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8966, allocations: 0 / 0.7348 GB, free: 69.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001235/0.8978, allocations: 435.5 kB / 0.7353 GB, free: 69.16 MB / 490.7 MB 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.01164/0.9094, allocations: 5.538 MB / 0.7407 GB, free: 63.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004403/0.9139, allocations: 2.057 MB / 0.7427 GB, free: 61.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9139, allocations: 0 / 0.7427 GB, free: 61.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003483/0.9174, allocations: 1.583 MB / 0.7442 GB, free: 59.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.9185, allocations: 116.7 kB / 0.7443 GB, free: 59.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.9225, allocations: 1.865 MB / 0.7462 GB, free: 57.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.9231, allocations: 1.147 MB / 0.7473 GB, free: 56.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000409/0.9235, allocations: 101.8 kB / 0.7474 GB, free: 56.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.924, allocations: 479.2 kB / 0.7478 GB, free: 56.14 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/0.924, allocations: 0 / 0.7478 GB, free: 56.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04505/0.9691, allocations: 30.83 MB / 0.7779 GB, free: 25.84 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/0.9692, allocations: 184.1 kB / 0.7781 GB, free: 25.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.609, allocations: 0 / 0.7781 GB, free: 25.62 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)