Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.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.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.001676/0.001676, 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.406/1.406, 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.0008174/0.0008174, allocations: 89.72 kB / 280.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4882/0.4882, allocations: 78.12 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.599e-05, allocations: 0 / 485.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3715, allocations: 69.34 MB / 0.5414 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5024, allocations: 101.5 MB / 0.6405 GB, free: 3.203 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.5028, allocations: 75.95 kB / 0.6406 GB, free: 3.129 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6402/1.143, allocations: 98.29 MB / 0.7366 GB, free: 72.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.143, allocations: 0 / 0.7366 GB, free: 72.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002271/1.143, allocations: 84 kB / 0.7366 GB, free: 71.96 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01774/1.161, allocations: 5.768 MB / 0.7423 GB, free: 66.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.161, allocations: 8.031 kB / 0.7423 GB, free: 66.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/1.178, allocations: 2.776 MB / 0.745 GB, free: 63.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006162/1.185, allocations: 2.279 MB / 0.7472 GB, free: 60.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000751/1.185, allocations: 0.8384 MB / 0.748 GB, free: 60 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009257/1.186, allocations: 207.9 kB / 0.7482 GB, free: 59.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006344/1.193, allocations: 3.443 MB / 0.7516 GB, free: 56.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006154/1.199, allocations: 3.598 MB / 0.7551 GB, free: 52.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/1.199, allocations: 0 / 0.7551 GB, free: 52.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/1.199, allocations: 0 / 0.7551 GB, free: 52.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.608e-05/1.199, allocations: 84 kB / 0.7552 GB, free: 52.64 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.03252/1.232, allocations: 18.18 MB / 0.7729 GB, free: 33.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009382/1.241, allocations: 4.655 MB / 0.7775 GB, free: 28.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004228/1.246, allocations: 2.124 MB / 0.7796 GB, free: 26.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/1.246, allocations: 74.89 kB / 0.7796 GB, free: 26.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/1.246, allocations: 73.48 kB / 0.7797 GB, free: 26.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 6.442e-06/1.246, allocations: 3.938 kB / 0.7797 GB, free: 26.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.0505/1.297, allocations: 17.17 MB / 0.7965 GB, free: 9.035 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/1.297, allocations: 171.5 kB / 0.7966 GB, free: 8.836 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/1.301, allocations: 2.464 MB / 0.799 GB, free: 6.359 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001075/1.302, allocations: 29.7 kB / 0.7991 GB, free: 6.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.303, allocations: 2.002 MB / 0.801 GB, free: 4.305 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.305, allocations: 1.251 MB / 0.8022 GB, free: 3.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/1.305, allocations: 0 / 0.8022 GB, free: 3.035 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/1.305, allocations: 445.6 kB / 0.8027 GB, free: 2.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/1.308, allocations: 1.761 MB / 0.8044 GB, free: 0.832 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/1.311, allocations: 2.322 MB / 0.8067 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/1.315, allocations: 1.952 MB / 0.8086 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/1.315, allocations: 4 kB / 0.8086 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05635/1.372, allocations: 17.27 MB / 0.8254 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002458/1.374, allocations: 6.679 MB / 0.832 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/1.374, allocations: 16 kB / 0.832 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02457/1.399, allocations: 6.819 MB / 0.8386 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/1.402, allocations: 0.5617 MB / 0.8392 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05872/1.461, allocations: 24.92 MB / 0.8635 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006751/1.468, allocations: 0.6177 MB / 0.8641 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.469, allocations: 132 kB / 0.8642 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.469, allocations: 7.938 kB / 0.8642 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05214/1.521, allocations: 16.78 MB / 0.8806 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-05/1.521, allocations: 12 kB / 0.8806 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02379/1.545, allocations: 6.819 MB / 0.8873 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/1.549, allocations: 0.55 MB / 0.8878 GB, free: 10.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4651/2.014, allocations: 24.91 MB / 0.9122 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006603/2.02, allocations: 0.5925 MB / 0.9127 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009279/2.021, allocations: 136.1 kB / 0.9129 GB, free: 139.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.001093/2.022, allocations: 199 kB / 0.9131 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05264/2.075, allocations: 17.18 MB / 0.9298 GB, free: 138.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002684/2.078, allocations: 453.3 kB / 0.9303 GB, free: 138.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05313/2.131, allocations: 17.63 MB / 0.9475 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/2.131, allocations: 39.59 kB / 0.9475 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-05/2.131, allocations: 27.62 kB / 0.9476 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/2.131, allocations: 23.3 kB / 0.9476 GB, free: 138.1 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.0579/2.189, allocations: 22.55 MB / 0.9696 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/2.189, allocations: 4.031 kB / 0.9696 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/2.192, allocations: 405 kB / 0.97 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02153/2.213, allocations: 6.908 MB / 0.9767 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0013/2.215, allocations: 17.66 kB / 0.9767 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04739/2.262, allocations: 22.27 MB / 0.9985 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.262, allocations: 0 / 0.9985 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05366/2.316, allocations: 20.5 MB / 1.019 GB, free: 84.79 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/2.318, allocations: 0.5552 MB / 1.019 GB, free: 84.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/2.319, allocations: 8 kB / 1.019 GB, free: 84.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005048/2.324, allocations: 427.9 kB / 1.019 GB, free: 83.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003091/2.328, allocations: 0.7638 MB / 1.02 GB, free: 83.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004427/2.328, allocations: 92.67 kB / 1.02 GB, free: 83.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002955/2.331, allocations: 1.827 MB / 1.022 GB, free: 81.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/2.331, allocations: 0 / 1.022 GB, free: 81.81 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01022/2.341, allocations: 2.624 MB / 1.025 GB, free: 79.29 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05498/2.396, allocations: 21.18 MB / 1.045 GB, free: 61.78 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03822/2.435, allocations: 14 MB / 1.059 GB, free: 47.74 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/2.435, allocations: 0 / 1.059 GB, free: 47.74 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01721/2.452, allocations: 5.851 MB / 1.065 GB, free: 41.87 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/2.455, allocations: 245.5 kB / 1.065 GB, free: 41.62 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/2.469, allocations: 6.515 MB / 1.071 GB, free: 35.08 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/2.47, allocations: 2.605 MB / 1.074 GB, free: 32.44 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00283/2.473, allocations: 0.6012 MB / 1.074 GB, free: 31.85 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/2.475, allocations: 1.94 MB / 1.076 GB, free: 29.91 MB / 0.573 GB Notification: Performance of SimCode: time 7.02e-07/2.475, allocations: 0 / 1.076 GB, free: 29.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5587/3.034, allocations: 139.2 MB / 1.212 GB, free: 110 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/3.034, allocations: 144.1 kB / 1.212 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/10.95, allocations: 0 / 1.212 GB, free: 109.9 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)