Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.001124/0.001124, allocations: 180.9 kB / 7.651 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.277/1.277, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009254/0.0009255, allocations: 93.86 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4669/0.4669, allocations: 78.93 MB / 410.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.677e-05, allocations: 4 kB / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 69.52 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.5091, allocations: 102.8 MB / 0.6429 GB, free: 11.26 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5094, allocations: 79.95 kB / 0.643 GB, free: 11.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2545/0.7639, allocations: 102 MB / 0.7426 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/0.764, allocations: 0.5625 kB / 0.7426 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004857/0.7645, allocations: 87.94 kB / 0.7427 GB, free: 4.695 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01949/0.784, allocations: 5.798 MB / 0.7483 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.784, allocations: 12.03 kB / 0.7484 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/0.802, allocations: 2.776 MB / 0.7511 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007549/0.8096, allocations: 2.272 MB / 0.7533 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/0.8108, allocations: 0.8643 MB / 0.7541 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.8125, allocations: 207.9 kB / 0.7543 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009131/0.8217, allocations: 3.447 MB / 0.7577 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.8325, allocations: 3.606 MB / 0.7612 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.8326, allocations: 0 / 0.7612 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00088/0.8335, allocations: 0 / 0.7612 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.432e-05/0.8336, allocations: 84 kB / 0.7613 GB, free: 1.309 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.3168/1.15, allocations: 18.13 MB / 0.779 GB, free: 85.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009523/1.16, allocations: 4.721 MB / 0.7836 GB, free: 84.61 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.163, allocations: 2.134 MB / 0.7857 GB, free: 84.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/1.164, allocations: 67.67 kB / 0.7858 GB, free: 84.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004131/1.168, allocations: 2.504 MB / 0.7882 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 5.881e-06/1.168, allocations: 0 / 0.7882 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.05352/1.222, allocations: 17.32 MB / 0.8051 GB, free: 83.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/1.222, allocations: 144.1 kB / 0.8053 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006554/1.228, allocations: 2.486 MB / 0.8077 GB, free: 83.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001035/1.229, allocations: 31.97 kB / 0.8077 GB, free: 83.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.231, allocations: 1.999 MB / 0.8097 GB, free: 82.69 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002092/1.233, allocations: 1.261 MB / 0.8109 GB, free: 82.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.233, allocations: 0 / 0.8109 GB, free: 82.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002281/1.234, allocations: 445.9 kB / 0.8113 GB, free: 81.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/1.237, allocations: 1.781 MB / 0.8131 GB, free: 81.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/1.24, allocations: 2.343 MB / 0.8154 GB, free: 81.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/1.243, allocations: 1.979 MB / 0.8173 GB, free: 81.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/1.243, allocations: 6.719 kB / 0.8173 GB, free: 81.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.04819/1.291, allocations: 17.43 MB / 0.8343 GB, free: 79.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.718e-05/1.292, allocations: 65.02 kB / 0.8344 GB, free: 79.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/1.292, allocations: 20.27 kB / 0.8344 GB, free: 79.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02196/1.314, allocations: 6.982 MB / 0.8412 GB, free: 79.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.317, allocations: 0.5546 MB / 0.8418 GB, free: 79.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05365/1.37, allocations: 26.57 MB / 0.8677 GB, free: 66.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006409/1.377, allocations: 0.6465 MB / 0.8683 GB, free: 66.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.378, allocations: 132.9 kB / 0.8685 GB, free: 66.27 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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 (334): * Single equations (assignments): 330 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009587/1.379, allocations: 203.9 kB / 0.8687 GB, free: 66.12 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04752/1.426, allocations: 17.32 MB / 0.8856 GB, free: 57.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002244/1.429, allocations: 468.4 kB / 0.886 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04758/1.476, allocations: 17.78 MB / 0.9034 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/1.476, allocations: 36 kB / 0.9034 GB, free: 43.08 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.67e-05/1.476, allocations: 28.88 kB / 0.9034 GB, free: 43.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/1.477, allocations: 21 kB / 0.9035 GB, free: 43.05 MB / 0.5573 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.05488/1.531, allocations: 22.44 MB / 0.9254 GB, free: 25.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/1.531, allocations: 0 / 0.9254 GB, free: 25.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/1.534, allocations: 393.2 kB / 0.9258 GB, free: 25.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02094/1.555, allocations: 6.961 MB / 0.9326 GB, free: 20.24 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001124/1.556, allocations: 20.55 kB / 0.9326 GB, free: 20.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0488/1.605, allocations: 24.19 MB / 0.9562 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.605, allocations: 1.219 kB / 0.9562 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05836/1.663, allocations: 20.67 MB / 0.9764 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.665, allocations: 0.5648 MB / 0.9769 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/1.667, allocations: 8 kB / 0.9769 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00538/1.672, allocations: 456.4 kB / 0.9774 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003194/1.675, allocations: 0.7763 MB / 0.9781 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005474/1.676, allocations: 99.97 kB / 0.9782 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003381/1.679, allocations: 1.841 MB / 0.98 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.31e-07/1.679, allocations: 7.938 kB / 0.98 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007398/1.687, allocations: 1.608 MB / 0.9816 GB, free: 5.805 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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.3593/2.046, allocations: 21.34 MB / 1.002 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02423/2.07, allocations: 8.109 MB / 1.01 GB, free: 112 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/2.07, allocations: 0 / 1.01 GB, free: 112 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01931/2.09, allocations: 6.002 MB / 1.016 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/2.093, allocations: 253.8 kB / 1.016 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/2.114, allocations: 6.471 MB / 1.023 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/2.116, allocations: 2.547 MB / 1.025 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001787/2.118, allocations: 299.5 kB / 1.026 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/2.121, allocations: 1.948 MB / 1.027 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/2.121, allocations: 0 / 1.027 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1618/2.282, allocations: 108.3 MB / 1.133 GB, free: 66.56 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/2.283, allocations: 144.2 kB / 1.133 GB, free: 66.37 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/8.916, allocations: 8.031 kB / 1.133 GB, free: 66.36 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)