Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.001348/0.001348, allocations: 172.5 kB / 7.646 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.311/1.311, allocations: 221.5 MB / 229.6 MB, free: 3.133 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.0008231/0.0008232, allocations: 95.16 kB / 280.5 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5094/0.5094, allocations: 78.07 MB / 409.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.626e-05, allocations: 0 / 485 MB, free: 3.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3732, allocations: 69.36 MB / 0.5414 GB, free: 21.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.5034, allocations: 97.45 MB / 0.6365 GB, free: 7.125 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.5037, allocations: 75.95 kB / 0.6366 GB, free: 7.051 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0787/0.5824, allocations: 29.6 MB / 0.6655 GB, free: 9.254 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5825, allocations: 0 / 0.6655 GB, free: 9.254 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.334e-05/0.5825, allocations: 27.94 kB / 0.6655 GB, free: 9.227 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003971/0.5865, allocations: 1.687 MB / 0.6672 GB, free: 7.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.5866, allocations: 11.97 kB / 0.6672 GB, free: 7.469 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.5899, allocations: 0.5603 MB / 0.6678 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.5911, allocations: 0.7683 MB / 0.6685 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.5914, allocations: 202.5 kB / 0.6687 GB, free: 5.855 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5915, allocations: 44 kB / 0.6687 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/0.5929, allocations: 0.8006 MB / 0.6695 GB, free: 5.012 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.5943, allocations: 0.8338 MB / 0.6703 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.5944, allocations: 0 / 0.6703 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/0.5945, allocations: 0 / 0.6703 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.5945, allocations: 16 kB / 0.6703 GB, free: 4.148 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.006923/0.6014, allocations: 3.702 MB / 0.674 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3416/0.9431, allocations: 2.565 MB / 0.6765 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.9444, allocations: 0.5109 MB / 0.677 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.9446, allocations: 14.33 kB / 0.677 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.9446, allocations: 48.36 kB / 0.677 GB, free: 104.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.327e-06/0.9446, allocations: 0 / 0.677 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01419/0.9589, allocations: 3.806 MB / 0.6807 GB, free: 104.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.9589, allocations: 139.6 kB / 0.6809 GB, free: 104.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.9604, allocations: 0.8155 MB / 0.6817 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.9606, allocations: 25.7 kB / 0.6817 GB, free: 104.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.961, allocations: 0.5015 MB / 0.6822 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.9613, allocations: 312.6 kB / 0.6825 GB, free: 104 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.9614, allocations: 1.25 kB / 0.6825 GB, free: 104 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.9615, allocations: 347.9 kB / 0.6828 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.9622, allocations: 423.5 kB / 0.6832 GB, free: 103.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.963, allocations: 0.5355 MB / 0.6837 GB, free: 103.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.9637, allocations: 480.5 kB / 0.6842 GB, free: 103.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.9637, allocations: 0.8125 kB / 0.6842 GB, free: 103.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01169/0.9754, allocations: 3.941 MB / 0.6881 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.9758, allocations: 1.202 MB / 0.6892 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.9758, allocations: 3.281 kB / 0.6892 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/0.9805, allocations: 1.45 MB / 0.6906 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.9814, allocations: 159 kB / 0.6908 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.9934, allocations: 6.41 MB / 0.6971 GB, free: 99.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.995, allocations: 170.7 kB / 0.6972 GB, free: 99.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.9952, allocations: 33.62 kB / 0.6973 GB, free: 99.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.9952, allocations: 7.875 kB / 0.6973 GB, free: 99.46 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01111/1.006, allocations: 3.785 MB / 0.701 GB, free: 98.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/1.006, allocations: 7.578 kB / 0.701 GB, free: 98.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004673/1.011, allocations: 1.445 MB / 0.7024 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/1.012, allocations: 155.4 kB / 0.7025 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.025, allocations: 6.4 MB / 0.7088 GB, free: 94.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/1.028, allocations: 165.5 kB / 0.7089 GB, free: 94.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/1.028, allocations: 30.58 kB / 0.709 GB, free: 94.95 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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" 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 (85): * Single equations (assignments): 82 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005583/1.029, allocations: 159.8 kB / 0.7091 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02023/1.049, allocations: 3.804 MB / 0.7128 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007388/1.05, allocations: 122.5 kB / 0.7129 GB, free: 91.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/1.07, allocations: 3.89 MB / 0.7167 GB, free: 88.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/1.07, allocations: 8 kB / 0.7167 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/1.07, allocations: 12 kB / 0.7168 GB, free: 88.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/1.07, allocations: 7.875 kB / 0.7168 GB, free: 88.88 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.02357/1.094, allocations: 5.417 MB / 0.7221 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/1.094, allocations: 0 / 0.7221 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.095, allocations: 109.9 kB / 0.7222 GB, free: 84.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007543/1.102, allocations: 1.407 MB / 0.7235 GB, free: 83.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002688/1.103, allocations: 4 kB / 0.7235 GB, free: 83.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.12, allocations: 5.633 MB / 0.729 GB, free: 77.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.12, allocations: 0 / 0.729 GB, free: 77.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01918/1.14, allocations: 4.602 MB / 0.7335 GB, free: 72.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006784/1.14, allocations: 221.1 kB / 0.7337 GB, free: 72.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004911/1.141, allocations: 4 kB / 0.7337 GB, free: 72.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.143, allocations: 127.8 kB / 0.7339 GB, free: 72.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006943/1.144, allocations: 180.5 kB / 0.734 GB, free: 72.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.144, allocations: 28 kB / 0.7341 GB, free: 72.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001118/1.145, allocations: 0.6175 MB / 0.7347 GB, free: 71.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.145, allocations: 0 / 0.7347 GB, free: 71.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002595/1.147, allocations: 0.6127 MB / 0.7353 GB, free: 71.14 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.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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.01908/1.167, allocations: 5.259 MB / 0.7404 GB, free: 65.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01288/1.179, allocations: 3.446 MB / 0.7438 GB, free: 62.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.18, allocations: 4.125 kB / 0.7438 GB, free: 62.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005889/1.185, allocations: 1.397 MB / 0.7451 GB, free: 60.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.187, allocations: 93.73 kB / 0.7452 GB, free: 60.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/1.192, allocations: 1.831 MB / 0.747 GB, free: 59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/1.192, allocations: 1.154 MB / 0.7481 GB, free: 57.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001273/1.194, allocations: 207.2 kB / 0.7483 GB, free: 57.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/1.194, allocations: 459.3 kB / 0.7488 GB, free: 57.17 MB / 490.7 MB Notification: Performance of SimCode: time 7.12e-07/1.195, allocations: 0 / 0.7488 GB, free: 57.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08279/1.277, allocations: 35.21 MB / 0.7832 GB, free: 22.28 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.278, allocations: 134.6 kB / 0.7833 GB, free: 22.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/4.404, allocations: 0 / 0.7833 GB, free: 22.09 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)