Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001843/0.001843, allocations: 180.2 kB / 7.65 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009002/0.0009001, allocations: 85.66 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06315/0.06315, allocations: 12.19 MB / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3049/0.3049, allocations: 78.07 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.702e-05, allocations: 4 kB / 0.5142 GB, free: 29.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1446, allocations: 69.25 MB / 0.5819 GB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5109/0.6556, allocations: 99.84 MB / 0.6794 GB, free: 8.695 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.6558, allocations: 80.52 kB / 0.6794 GB, free: 8.652 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.146/0.8018, allocations: 59.05 MB / 0.7371 GB, free: 8.266 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.8019, allocations: 0 / 0.7371 GB, free: 8.266 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000159/0.802, allocations: 55.88 kB / 0.7372 GB, free: 8.211 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.0128/0.8148, allocations: 3.764 MB / 0.7408 GB, free: 4.707 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8149, allocations: 8.031 kB / 0.7408 GB, free: 4.699 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.8253, allocations: 1.573 MB / 0.7424 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004377/0.8298, allocations: 1.491 MB / 0.7438 GB, free: 1.648 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007137/0.8305, allocations: 0.6045 MB / 0.7444 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007979/0.8313, allocations: 123.9 kB / 0.7445 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003996/0.8353, allocations: 2.085 MB / 0.7466 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/0.8391, allocations: 2.157 MB / 0.7487 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.8392, allocations: 3.938 kB / 0.7487 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.8394, allocations: 4 kB / 0.7487 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.8395, allocations: 48 kB / 0.7487 GB, free: 12.5 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.01949/0.859, allocations: 9.352 MB / 0.7579 GB, free: 2.746 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009391/0.8684, allocations: 3.967 MB / 0.7617 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/0.8711, allocations: 1.379 MB / 0.7631 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.8715, allocations: 41.95 kB / 0.7631 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.8715, allocations: 56.56 kB / 0.7632 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 5.059e-06/0.8715, allocations: 0 / 0.7632 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=229): time 0.03702/0.9086, allocations: 11.93 MB / 0.7748 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.9087, allocations: 124.8 kB / 0.775 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.9112, allocations: 1.515 MB / 0.7764 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006882/0.9119, allocations: 33.69 kB / 0.7765 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008787/0.9128, allocations: 1.128 MB / 0.7776 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009774/0.9138, allocations: 0.7619 MB / 0.7783 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.914, allocations: 0 / 0.7783 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.9142, allocations: 386.3 kB / 0.7787 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.916, allocations: 1.117 MB / 0.7798 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.9179, allocations: 1.424 MB / 0.7812 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.9199, allocations: 1.234 MB / 0.7824 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.9199, allocations: 0 / 0.7824 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03621/0.9561, allocations: 12.03 MB / 0.7941 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009195/0.9571, allocations: 2.734 MB / 0.7968 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.9571, allocations: 4 kB / 0.7968 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01663/0.9737, allocations: 4.974 MB / 0.8016 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.9759, allocations: 335.5 kB / 0.802 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0388/1.015, allocations: 17.55 MB / 0.8191 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/1.018, allocations: 441.9 kB / 0.8195 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/1.019, allocations: 79.98 kB / 0.8196 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.019, allocations: 4 kB / 0.8196 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03503/1.054, allocations: 11.72 MB / 0.831 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.457e-05/1.054, allocations: 11.98 kB / 0.8311 GB, free: 7.047 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01595/1.07, allocations: 4.973 MB / 0.8359 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/1.072, allocations: 331.5 kB / 0.8362 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03724/1.109, allocations: 17.56 MB / 0.8534 GB, free: 40 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3442/1.453, allocations: 411.5 kB / 0.8538 GB, free: 146.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006667/1.454, allocations: 74.47 kB / 0.8538 GB, free: 146.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (188): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008928/1.455, allocations: 148 kB / 0.854 GB, free: 146.1 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03862/1.494, allocations: 11.92 MB / 0.8656 GB, free: 146 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/1.495, allocations: 275.8 kB / 0.8659 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04024/1.536, allocations: 12.19 MB / 0.8778 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-05/1.536, allocations: 19.5 kB / 0.8778 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.981e-05/1.536, allocations: 20.38 kB / 0.8778 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/1.536, allocations: 9.328 kB / 0.8778 GB, free: 145.7 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.05319/1.589, allocations: 15.53 MB / 0.893 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/1.589, allocations: 2.375 kB / 0.893 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.591, allocations: 250.5 kB / 0.8932 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01393/1.605, allocations: 4.763 MB / 0.8979 GB, free: 144.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007003/1.606, allocations: 11.62 kB / 0.8979 GB, free: 144.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0307/1.636, allocations: 15.17 MB / 0.9127 GB, free: 142.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.636, allocations: 7.953 kB / 0.9127 GB, free: 142.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03824/1.675, allocations: 14.12 MB / 0.9265 GB, free: 134.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.676, allocations: 378.4 kB / 0.9269 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009101/1.677, allocations: 4 kB / 0.9269 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.68, allocations: 328 kB / 0.9272 GB, free: 134.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/1.682, allocations: 0.5436 MB / 0.9277 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.682, allocations: 59.42 kB / 0.9278 GB, free: 134 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001624/1.684, allocations: 1.138 MB / 0.9289 GB, free: 132.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.684, allocations: 0 / 0.9289 GB, free: 132.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005291/1.689, allocations: 1.549 MB / 0.9304 GB, free: 131.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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.03701/1.726, allocations: 14.96 MB / 0.945 GB, free: 119.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02489/1.751, allocations: 9.138 MB / 0.9539 GB, free: 111 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.751, allocations: 0 / 0.9539 GB, free: 111 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01103/1.762, allocations: 3.794 MB / 0.9577 GB, free: 107.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.764, allocations: 161.1 kB / 0.9578 GB, free: 107.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008634/1.773, allocations: 4.33 MB / 0.962 GB, free: 103.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.774, allocations: 1.797 MB / 0.9638 GB, free: 102.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001511/1.776, allocations: 354.6 kB / 0.9641 GB, free: 102 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.777, allocations: 1.074 MB / 0.9652 GB, free: 101.1 MB / 0.573 GB Notification: Performance of SimCode: time 9.62e-07/1.777, allocations: 0 / 0.9652 GB, free: 101.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/1.908, allocations: 90.49 MB / 1.054 GB, free: 15.05 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/1.908, allocations: 146.8 kB / 1.054 GB, free: 14.86 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.597/7.505, allocations: 0 / 1.054 GB, free: 14.86 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)