Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.00097/0.0009701, allocations: 172.5 kB / 7.647 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.301/1.301, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0009582/0.0009581, allocations: 93.58 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5256/0.5256, allocations: 78.06 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.85e-05, allocations: 4 kB / 485 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 69.37 MB / 0.5414 GB, free: 6.719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3809/0.5126, allocations: 98.34 MB / 0.6374 GB, free: 1.109 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5129, allocations: 84.48 kB / 0.6375 GB, free: 1.027 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1555/0.6683, allocations: 60.82 MB / 0.6969 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6684, allocations: 0 / 0.6969 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001432/0.6685, allocations: 59.92 kB / 0.6969 GB, free: 4.035 MB / 0.4948 GB 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.01201/0.6806, allocations: 3.765 MB / 0.7006 GB, free: 220 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6806, allocations: 12.03 kB / 0.7006 GB, free: 208 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009953/0.6906, allocations: 1.569 MB / 0.7022 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/0.6939, allocations: 1.48 MB / 0.7036 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006451/0.6945, allocations: 0.6045 MB / 0.7042 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005314/0.6951, allocations: 116 kB / 0.7043 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004068/0.6992, allocations: 2.094 MB / 0.7064 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/0.7033, allocations: 2.153 MB / 0.7085 GB, free: 8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.7033, allocations: 0 / 0.7085 GB, free: 8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.7036, allocations: 0 / 0.7085 GB, free: 8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/0.7036, allocations: 55.94 kB / 0.7085 GB, free: 7.945 MB / 0.5105 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.0194/0.723, allocations: 9.348 MB / 0.7176 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009627/0.7327, allocations: 3.97 MB / 0.7215 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002619/0.7353, allocations: 1.382 MB / 0.7229 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.7357, allocations: 37.95 kB / 0.7229 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.7358, allocations: 64.45 kB / 0.723 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.41e-06/0.7358, allocations: 0 / 0.723 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of matching and sorting (n=229): time 0.03775/0.7735, allocations: 11.92 MB / 0.7346 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.7737, allocations: 128.8 kB / 0.7347 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.7762, allocations: 1.52 MB / 0.7362 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005947/0.7769, allocations: 29.7 kB / 0.7362 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008145/0.7777, allocations: 1.136 MB / 0.7374 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009399/0.7786, allocations: 0.758 MB / 0.7381 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.7788, allocations: 0 / 0.7381 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.779, allocations: 386.3 kB / 0.7385 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.7809, allocations: 1.121 MB / 0.7396 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.7829, allocations: 1.412 MB / 0.7409 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.7849, allocations: 1.232 MB / 0.7421 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.7849, allocations: 0 / 0.7421 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.0372/0.8221, allocations: 12.04 MB / 0.7539 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009259/0.8231, allocations: 2.733 MB / 0.7566 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.8231, allocations: 8 kB / 0.7566 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01665/0.8398, allocations: 4.969 MB / 0.7614 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.8417, allocations: 339.5 kB / 0.7617 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.315/1.157, allocations: 17.53 MB / 0.7789 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/1.16, allocations: 445.2 kB / 0.7793 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/1.16, allocations: 79.5 kB / 0.7794 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.537e-06/1.16, allocations: 2.812 kB / 0.7794 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0346/1.195, allocations: 11.73 MB / 0.7908 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.835e-05/1.195, allocations: 7.5 kB / 0.7908 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/1.212, allocations: 4.969 MB / 0.7957 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.214, allocations: 324.1 kB / 0.796 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03995/1.254, allocations: 17.54 MB / 0.8131 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/1.257, allocations: 420.8 kB / 0.8135 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/1.257, allocations: 81.59 kB / 0.8136 GB, free: 108.9 MB / 0.5573 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.0007355/1.258, allocations: 147.8 kB / 0.8137 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03379/1.292, allocations: 11.93 MB / 0.8254 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009372/1.293, allocations: 273.1 kB / 0.8257 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03272/1.326, allocations: 12.2 MB / 0.8376 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.326, allocations: 21.91 kB / 0.8376 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.326, allocations: 20.47 kB / 0.8376 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.284e-05/1.326, allocations: 12.42 kB / 0.8376 GB, free: 104.1 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.03737/1.363, allocations: 15.52 MB / 0.8528 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.363, allocations: 0 / 0.8528 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.365, allocations: 253 kB / 0.853 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01334/1.378, allocations: 4.767 MB / 0.8577 GB, free: 97.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004893/1.379, allocations: 12 kB / 0.8577 GB, free: 97.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02948/1.408, allocations: 15.17 MB / 0.8725 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.408, allocations: 3.094 kB / 0.8725 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03605/1.444, allocations: 14.11 MB / 0.8863 GB, free: 72.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007517/1.445, allocations: 374.5 kB / 0.8866 GB, free: 71.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005338/1.446, allocations: 4.75 kB / 0.8866 GB, free: 71.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/1.449, allocations: 334.9 kB / 0.887 GB, free: 71.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001681/1.45, allocations: 0.5454 MB / 0.8875 GB, free: 71.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/1.45, allocations: 59.72 kB / 0.8875 GB, free: 71.37 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00135/1.452, allocations: 1.137 MB / 0.8887 GB, free: 70.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.452, allocations: 0 / 0.8887 GB, free: 70.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004529/1.456, allocations: 1.547 MB / 0.8902 GB, free: 68.84 MB / 0.5573 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.03639/1.493, allocations: 14.97 MB / 0.9048 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0231/1.516, allocations: 9.123 MB / 0.9137 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.516, allocations: 0 / 0.9137 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01052/1.527, allocations: 3.801 MB / 0.9174 GB, free: 44.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.528, allocations: 149.3 kB / 0.9175 GB, free: 44.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/1.536, allocations: 4.332 MB / 0.9218 GB, free: 41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009317/1.537, allocations: 1.795 MB / 0.9235 GB, free: 39.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001507/1.538, allocations: 351.7 kB / 0.9239 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.539, allocations: 1.069 MB / 0.9249 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/1.539, allocations: 0 / 0.9249 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3777/1.917, allocations: 90.44 MB / 1.013 GB, free: 124.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001177/1.917, allocations: 137.3 kB / 1.013 GB, free: 124.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.951/6.868, allocations: 1.688 kB / 1.013 GB, free: 124.6 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)