Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.001548/0.001548, 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.342/1.342, allocations: 221.5 MB / 229.6 MB, free: 7.605 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.0009057/0.0009057, allocations: 89.03 kB / 280.5 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.457/0.457, allocations: 78.07 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.207e-05, allocations: 7.938 kB / 485 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 69.36 MB / 0.5414 GB, free: 6.793 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5173, allocations: 99.79 MB / 0.6388 GB, free: 15.76 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.5175, allocations: 84.86 kB / 0.6389 GB, free: 15.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1786/0.6961, allocations: 67 MB / 0.7043 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6962, allocations: 0 / 0.7043 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001865/0.6964, allocations: 63.88 kB / 0.7044 GB, free: 12.48 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01323/0.7096, allocations: 4.05 MB / 0.7084 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.7097, allocations: 12.03 kB / 0.7084 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.7198, allocations: 1.596 MB / 0.7099 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.7239, allocations: 1.662 MB / 0.7116 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006829/0.7246, allocations: 0.6203 MB / 0.7122 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/0.7251, allocations: 127.9 kB / 0.7123 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004232/0.7293, allocations: 2.226 MB / 0.7145 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004433/0.7338, allocations: 2.299 MB / 0.7167 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.7339, allocations: 4 kB / 0.7167 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.7341, allocations: 0 / 0.7167 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.7342, allocations: 52 kB / 0.7168 GB, free: 15.49 MB / 0.5261 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.02025/0.7544, allocations: 9.78 MB / 0.7263 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009293/0.7637, allocations: 3.978 MB / 0.7302 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.7664, allocations: 1.468 MB / 0.7316 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.7668, allocations: 53.97 kB / 0.7317 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.7668, allocations: 64.33 kB / 0.7317 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 4.699e-06/0.7668, allocations: 0 / 0.7317 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.03794/0.8048, allocations: 12.1 MB / 0.7436 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.805, allocations: 235.6 kB / 0.7438 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/0.808, allocations: 1.736 MB / 0.7455 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007291/0.8088, allocations: 29.7 kB / 0.7455 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009215/0.8097, allocations: 1.196 MB / 0.7467 GB, free: 188 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.8111, allocations: 0.8159 MB / 0.7475 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.8113, allocations: 0.5625 kB / 0.7475 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.8115, allocations: 394.7 kB / 0.7478 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.8136, allocations: 1.196 MB / 0.749 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.8161, allocations: 1.5 MB / 0.7505 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.8184, allocations: 1.313 MB / 0.7518 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.8184, allocations: 4 kB / 0.7518 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.3351/1.154, allocations: 12.21 MB / 0.7637 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004966/1.154, allocations: 2.868 MB / 0.7665 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.154, allocations: 11.97 kB / 0.7665 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01545/1.17, allocations: 4.934 MB / 0.7713 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.172, allocations: 373.1 kB / 0.7717 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04107/1.213, allocations: 18.51 MB / 0.7897 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004242/1.217, allocations: 482.3 kB / 0.7902 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006657/1.218, allocations: 83.62 kB / 0.7903 GB, free: 105 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.218, allocations: 5 kB / 0.7903 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03825/1.256, allocations: 11.9 MB / 0.8019 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.376e-05/1.256, allocations: 6.438 kB / 0.8019 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01793/1.274, allocations: 4.94 MB / 0.8067 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/1.276, allocations: 355.5 kB / 0.8071 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04034/1.317, allocations: 18.51 MB / 0.8252 GB, free: 98.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/1.321, allocations: 458.9 kB / 0.8256 GB, free: 98.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009415/1.322, allocations: 82.67 kB / 0.8257 GB, free: 98.49 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001716/1.324, allocations: 203.9 kB / 0.8259 GB, free: 98.32 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03718/1.361, allocations: 12.11 MB / 0.8377 GB, free: 96.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001711/1.363, allocations: 302.8 kB / 0.838 GB, free: 95.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03728/1.4, allocations: 12.37 MB / 0.8501 GB, free: 93.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/1.4, allocations: 24.75 kB / 0.8501 GB, free: 93.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.36e-05/1.4, allocations: 17.47 kB / 0.8501 GB, free: 93.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.47e-05/1.4, allocations: 18.3 kB / 0.8501 GB, free: 93.43 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.04294/1.443, allocations: 15.94 MB / 0.8657 GB, free: 87.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.799e-05/1.443, allocations: 0.875 kB / 0.8657 GB, free: 87.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.445, allocations: 287 kB / 0.866 GB, free: 87.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01458/1.46, allocations: 4.764 MB / 0.8706 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000745/1.461, allocations: 19.84 kB / 0.8706 GB, free: 83.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03341/1.494, allocations: 15.19 MB / 0.8855 GB, free: 70.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.494, allocations: 0 / 0.8855 GB, free: 70.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03927/1.533, allocations: 14.37 MB / 0.8995 GB, free: 58.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.535, allocations: 410.8 kB / 0.8999 GB, free: 57.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/1.536, allocations: 12 kB / 0.8999 GB, free: 57.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004144/1.54, allocations: 358.6 kB / 0.9002 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002364/1.542, allocations: 0.5568 MB / 0.9008 GB, free: 57.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005276/1.543, allocations: 63.05 kB / 0.9008 GB, free: 57.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002425/1.545, allocations: 1.3 MB / 0.9021 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.545, allocations: 0 / 0.9021 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007719/1.553, allocations: 1.621 MB / 0.9037 GB, free: 54.55 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03889/1.592, allocations: 15.09 MB / 0.9184 GB, free: 42.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02731/1.619, allocations: 10.03 MB / 0.9282 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.619, allocations: 320 / 0.9282 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/1.631, allocations: 3.975 MB / 0.9321 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/1.634, allocations: 206.1 kB / 0.9323 GB, free: 29.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/1.646, allocations: 4.639 MB / 0.9368 GB, free: 25.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.648, allocations: 1.91 MB / 0.9387 GB, free: 23.63 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00221/1.65, allocations: 450.7 kB / 0.9391 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.651, allocations: 1.188 MB / 0.9403 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of SimCode: time 8.41e-07/1.651, allocations: 0 / 0.9403 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4151/2.066, allocations: 94.68 MB / 1.033 GB, free: 119.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/2.067, allocations: 142.5 kB / 1.033 GB, free: 119.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.135/7.202, allocations: 0 / 1.033 GB, free: 119.4 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)