Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.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.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.00101/0.001011, allocations: 173.9 kB / 7.648 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.321/1.321, 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.0009339/0.0009337, allocations: 97.28 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4742/0.4742, allocations: 78.94 MB / 410.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.301e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 69.52 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.5022, allocations: 98.62 MB / 0.6388 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.5025, allocations: 80.7 kB / 0.6389 GB, free: 15.29 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1528/0.6553, allocations: 61.25 MB / 0.6987 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6553, allocations: 0 / 0.6987 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002059/0.6556, allocations: 51.94 kB / 0.6988 GB, free: 1.887 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01211/0.6677, allocations: 3.738 MB / 0.7024 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6677, allocations: 12.03 kB / 0.7024 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.6782, allocations: 1.569 MB / 0.704 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.6822, allocations: 1.456 MB / 0.7054 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006949/0.6829, allocations: 0.6045 MB / 0.706 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005368/0.6835, allocations: 119.9 kB / 0.7061 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003968/0.6874, allocations: 2.081 MB / 0.7081 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003829/0.6913, allocations: 2.142 MB / 0.7102 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.6913, allocations: 0 / 0.7102 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.6915, allocations: 0 / 0.7102 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.6916, allocations: 44 kB / 0.7103 GB, free: 5.879 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.01816/0.7097, allocations: 9.326 MB / 0.7194 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009125/0.7189, allocations: 3.954 MB / 0.7232 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.7212, allocations: 1.37 MB / 0.7246 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.7215, allocations: 37.97 kB / 0.7246 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.7215, allocations: 60.52 kB / 0.7247 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 4.358e-06/0.7216, allocations: 4.562 kB / 0.7247 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.0365/0.7581, allocations: 11.9 MB / 0.7363 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.7582, allocations: 128.8 kB / 0.7364 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/0.7607, allocations: 1.479 MB / 0.7379 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005212/0.7613, allocations: 29.7 kB / 0.7379 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008967/0.7622, allocations: 1.116 MB / 0.739 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.7632, allocations: 0.7548 MB / 0.7397 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.7634, allocations: 0 / 0.7397 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.7636, allocations: 390.2 kB / 0.7401 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.7655, allocations: 1.106 MB / 0.7412 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.7676, allocations: 1.401 MB / 0.7425 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.7695, allocations: 1.226 MB / 0.7437 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.7695, allocations: 2.062 kB / 0.7437 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03555/0.8051, allocations: 12.01 MB / 0.7555 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009319/0.8061, allocations: 2.725 MB / 0.7581 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.8061, allocations: 6.344 kB / 0.7581 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2948/1.101, allocations: 4.972 MB / 0.763 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.103, allocations: 324 kB / 0.7633 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03511/1.138, allocations: 17.55 MB / 0.7804 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/1.141, allocations: 442.1 kB / 0.7809 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/1.142, allocations: 79.09 kB / 0.7809 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/1.142, allocations: 2.719 kB / 0.7809 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03526/1.177, allocations: 11.7 MB / 0.7924 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.667e-05/1.177, allocations: 6.5 kB / 0.7924 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01662/1.194, allocations: 4.972 MB / 0.7972 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.195, allocations: 309.1 kB / 0.7975 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03814/1.234, allocations: 17.54 MB / 0.8146 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/1.237, allocations: 421.3 kB / 0.815 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/1.237, allocations: 79.48 kB / 0.8151 GB, free: 107.3 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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 (186): * Single equations (assignments): 185 * 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.0006528/1.238, allocations: 152.5 kB / 0.8153 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03337/1.272, allocations: 11.9 MB / 0.8269 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.273, allocations: 265.2 kB / 0.8271 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03312/1.306, allocations: 12.18 MB / 0.839 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/1.306, allocations: 24.69 kB / 0.8391 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/1.306, allocations: 17.78 kB / 0.8391 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.277e-05/1.306, allocations: 11.44 kB / 0.8391 GB, free: 102.4 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.03702/1.343, allocations: 15.47 MB / 0.8542 GB, free: 98.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.343, allocations: 0 / 0.8542 GB, free: 98.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.344, allocations: 249.7 kB / 0.8544 GB, free: 98.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01328/1.358, allocations: 4.786 MB / 0.8591 GB, free: 95.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004803/1.358, allocations: 8 kB / 0.8591 GB, free: 95.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02985/1.388, allocations: 15.19 MB / 0.8739 GB, free: 81.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.388, allocations: 0 / 0.8739 GB, free: 81.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03544/1.424, allocations: 14.07 MB / 0.8877 GB, free: 70.17 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/1.424, allocations: 371.4 kB / 0.888 GB, free: 69.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/1.425, allocations: 7.953 kB / 0.8881 GB, free: 69.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/1.427, allocations: 325.9 kB / 0.8884 GB, free: 69.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001545/1.429, allocations: 0.5475 MB / 0.8889 GB, free: 69.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.429, allocations: 56.5 kB / 0.889 GB, free: 69.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001192/1.43, allocations: 1.111 MB / 0.89 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.43, allocations: 0 / 0.89 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003727/1.434, allocations: 1.539 MB / 0.8915 GB, free: 66.75 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (147): * Single equations (assignments): 146 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03561/1.47, allocations: 14.91 MB / 0.9061 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02275/1.492, allocations: 9.09 MB / 0.915 GB, free: 46.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.493, allocations: 1.75 kB / 0.915 GB, free: 46.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01022/1.503, allocations: 3.798 MB / 0.9187 GB, free: 42.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/1.504, allocations: 150 kB / 0.9188 GB, free: 42.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/1.513, allocations: 4.217 MB / 0.923 GB, free: 39.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.514, allocations: 1.789 MB / 0.9247 GB, free: 37.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001431/1.515, allocations: 346.1 kB / 0.925 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009515/1.516, allocations: 1.055 MB / 0.9261 GB, free: 36.48 MB / 0.5573 GB Notification: Performance of SimCode: time 2.314e-06/1.516, allocations: 0 / 0.9261 GB, free: 36.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3946/1.911, allocations: 89.83 MB / 1.014 GB, free: 125.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/1.911, allocations: 144.8 kB / 1.014 GB, free: 124.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.02/6.931, allocations: 1.75 kB / 1.014 GB, free: 124.9 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)