Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.001005/0.001005, 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.249/1.249, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008392/0.0008391, allocations: 101.5 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4199/0.4199, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.656e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.295, allocations: 69.5 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.4042, allocations: 102.1 MB / 0.6489 GB, free: 13.53 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.4044, allocations: 79.97 kB / 0.649 GB, free: 13.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4751/0.8795, allocations: 101.8 MB / 0.7484 GB, free: 59.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.8796, allocations: 0 / 0.7484 GB, free: 59.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001802/0.8798, allocations: 87.94 kB / 0.7485 GB, free: 58.98 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01406/0.8938, allocations: 5.745 MB / 0.7541 GB, free: 53.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8939, allocations: 11.97 kB / 0.7541 GB, free: 53.15 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006979/0.8946, allocations: 492.8 kB / 0.7546 GB, free: 52.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/0.9097, allocations: 2.783 MB / 0.7573 GB, free: 49.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004167/0.9139, allocations: 2.233 MB / 0.7595 GB, free: 47.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007322/0.9147, allocations: 0.9808 MB / 0.7604 GB, free: 46.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008789/0.9155, allocations: 340 kB / 0.7607 GB, free: 46.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00743/0.923, allocations: 4.088 MB / 0.7647 GB, free: 41.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-05/0.9231, allocations: 4 kB / 0.7647 GB, free: 41.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000355/0.9234, allocations: 136 kB / 0.7649 GB, free: 41.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.9235, allocations: 84 kB / 0.765 GB, free: 41.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005373/0.9288, allocations: 3.617 MB / 0.7685 GB, free: 38.15 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.02796/0.9568, allocations: 18.58 MB / 0.7866 GB, free: 18.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00942/0.9663, allocations: 4.801 MB / 0.7913 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/0.9695, allocations: 2.22 MB / 0.7935 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/0.97, allocations: 78.77 kB / 0.7936 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004189/0.9742, allocations: 2.596 MB / 0.7961 GB, free: 8.551 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.751e-06/0.9743, allocations: 0 / 0.7961 GB, free: 8.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04959/1.024, allocations: 17.58 MB / 0.8133 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/1.024, allocations: 145.8 kB / 0.8134 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004782/1.029, allocations: 2.654 MB / 0.816 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008076/1.03, allocations: 85.7 kB / 0.8161 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/1.031, allocations: 2.002 MB / 0.818 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/1.033, allocations: 1.301 MB / 0.8193 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006363/1.034, allocations: 72.03 kB / 0.8194 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002734/1.034, allocations: 453.7 kB / 0.8198 GB, free: 124 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003735/1.038, allocations: 1.827 MB / 0.8216 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004185/1.042, allocations: 2.41 MB / 0.8239 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/1.046, allocations: 2.096 MB / 0.826 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/1.046, allocations: 4 kB / 0.826 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.0519/1.098, allocations: 17.73 MB / 0.8433 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.367e-05/1.098, allocations: 63.41 kB / 0.8434 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/1.098, allocations: 12 kB / 0.8434 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02332/1.121, allocations: 6.977 MB / 0.8502 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/1.124, allocations: 0.5617 MB / 0.8507 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06203/1.186, allocations: 25.78 MB / 0.8759 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006126/1.193, allocations: 0.7152 MB / 0.8766 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009131/1.193, allocations: 136 kB / 0.8767 GB, free: 5.328 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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_1.e1q:VARIABLE(start = order3_1.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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001622/1.195, allocations: 326.9 kB / 0.8771 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.197, allocations: 458.3 kB / 0.8775 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05357/1.25, allocations: 18.13 MB / 0.8952 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/1.25, allocations: 36 kB / 0.8952 GB, free: 2.309 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.057e-05/1.25, allocations: 28 kB / 0.8953 GB, free: 2.281 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.806e-05/1.251, allocations: 19.92 kB / 0.8953 GB, free: 2.262 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.3499/1.6, allocations: 23.07 MB / 0.9178 GB, free: 134.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/1.601, allocations: 0 / 0.9178 GB, free: 134.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/1.603, allocations: 392.3 kB / 0.9182 GB, free: 134.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02007/1.623, allocations: 7.035 MB / 0.9251 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008775/1.624, allocations: 71.73 kB / 0.9251 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04733/1.671, allocations: 24.49 MB / 0.949 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.671, allocations: 7.922 kB / 0.949 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05093/1.722, allocations: 20.94 MB / 0.9695 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.724, allocations: 0.5517 MB / 0.97 GB, free: 118 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.725, allocations: 71.95 kB / 0.9701 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/1.729, allocations: 0.5073 MB / 0.9706 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002774/1.732, allocations: 0.7753 MB / 0.9713 GB, free: 117.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002958/1.732, allocations: 91.84 kB / 0.9714 GB, free: 117 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002495/1.735, allocations: 2.014 MB / 0.9734 GB, free: 115.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.735, allocations: 0 / 0.9734 GB, free: 115.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004017/1.739, allocations: 1.758 MB / 0.9751 GB, free: 113.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05007/1.789, allocations: 21.68 MB / 0.9963 GB, free: 95.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01924/1.808, allocations: 8.223 MB / 1.004 GB, free: 88.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.808, allocations: 4 kB / 1.004 GB, free: 88.15 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01587/1.824, allocations: 6.101 MB / 1.01 GB, free: 82.74 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.827, allocations: 306.8 kB / 1.011 GB, free: 82.45 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.84, allocations: 6.48 MB / 1.017 GB, free: 76.64 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/1.842, allocations: 2.534 MB / 1.019 GB, free: 74.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001373/1.843, allocations: 301.1 kB / 1.02 GB, free: 74.55 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/1.845, allocations: 1.976 MB / 1.022 GB, free: 72.74 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/1.845, allocations: 4 kB / 1.022 GB, free: 72.73 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4233/2.268, allocations: 113.4 MB / 1.132 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/2.269, allocations: 184.5 kB / 1.133 GB, free: 155 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.323/8.591, allocations: 0 / 1.133 GB, free: 155 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)