Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_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.0009436/0.0009436, 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.211/1.211, allocations: 221.5 MB / 229.6 MB, free: 3.191 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.0008396/0.0008396, allocations: 83.83 kB / 280.5 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4856/0.4856, allocations: 78.94 MB / 410.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.716e-05, allocations: 0 / 486 MB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2892, allocations: 69.51 MB / 0.5425 GB, free: 21.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.4043, allocations: 98.93 MB / 0.6391 GB, free: 4.77 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.4046, allocations: 79.95 kB / 0.6392 GB, free: 4.691 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4077/0.8123, allocations: 61.66 MB / 0.6994 GB, free: 98.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.8123, allocations: 0 / 0.6994 GB, free: 98.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001806/0.8125, allocations: 55.47 kB / 0.6995 GB, free: 98.61 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01092/0.8234, allocations: 3.771 MB / 0.7032 GB, free: 97.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.8235, allocations: 7.406 kB / 0.7032 GB, free: 97.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009271/0.8327, allocations: 1.567 MB / 0.7047 GB, free: 97.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.836, allocations: 1.486 MB / 0.7062 GB, free: 96.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005356/0.8365, allocations: 0.6087 MB / 0.7067 GB, free: 96.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005982/0.8371, allocations: 119.2 kB / 0.7069 GB, free: 96.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003712/0.8408, allocations: 2.089 MB / 0.7089 GB, free: 95.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003835/0.8447, allocations: 2.16 MB / 0.711 GB, free: 94.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.8447, allocations: 0 / 0.711 GB, free: 94.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.845, allocations: 3.953 kB / 0.711 GB, free: 94.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.845, allocations: 49.11 kB / 0.7111 GB, free: 94.36 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.01485/0.8599, allocations: 9.347 MB / 0.7202 GB, free: 87.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008118/0.868, allocations: 3.968 MB / 0.7241 GB, free: 83.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.8697, allocations: 1.386 MB / 0.7254 GB, free: 81.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.87, allocations: 37.48 kB / 0.7255 GB, free: 81.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.8701, allocations: 56.56 kB / 0.7255 GB, free: 81.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 4.268e-06/0.8701, allocations: 4 kB / 0.7255 GB, free: 81.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03293/0.903, allocations: 11.92 MB / 0.7371 GB, free: 69.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.9031, allocations: 132.8 kB / 0.7373 GB, free: 69.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.9057, allocations: 1.519 MB / 0.7388 GB, free: 67.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005726/0.9063, allocations: 25.7 kB / 0.7388 GB, free: 67.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000685/0.907, allocations: 1.136 MB / 0.7399 GB, free: 66.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.908, allocations: 0.7542 MB / 0.7406 GB, free: 66.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.9084, allocations: 0 / 0.7406 GB, free: 66.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9086, allocations: 383.2 kB / 0.741 GB, free: 65.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.9105, allocations: 1.121 MB / 0.7421 GB, free: 64.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.9124, allocations: 1.416 MB / 0.7435 GB, free: 63.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.9143, allocations: 1.231 MB / 0.7447 GB, free: 61.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.9143, allocations: 4 kB / 0.7447 GB, free: 61.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03343/0.9477, allocations: 12.04 MB / 0.7564 GB, free: 49.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005097/0.9483, allocations: 2.733 MB / 0.7591 GB, free: 46.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/0.9483, allocations: 8 kB / 0.7591 GB, free: 46.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/0.9634, allocations: 4.976 MB / 0.764 GB, free: 41.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.9653, allocations: 335.5 kB / 0.7643 GB, free: 41.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03473/1, allocations: 17.54 MB / 0.7814 GB, free: 23.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/1.004, allocations: 445.8 kB / 0.7818 GB, free: 23.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004494/1.004, allocations: 82.53 kB / 0.7819 GB, free: 23.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.004, allocations: 4 kB / 0.7819 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03218/1.037, allocations: 11.72 MB / 0.7934 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.005e-05/1.037, allocations: 4 kB / 0.7934 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01485/1.052, allocations: 4.973 MB / 0.7982 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/1.053, allocations: 323.5 kB / 0.7985 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0394/1.093, allocations: 17.55 MB / 0.8157 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/1.097, allocations: 422 kB / 0.8161 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/1.097, allocations: 71.98 kB / 0.8162 GB, free: 4.117 MB / 0.4948 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.0007558/1.098, allocations: 165.8 kB / 0.8163 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03671/1.135, allocations: 11.91 MB / 0.8279 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.136, allocations: 272.6 kB / 0.8282 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03697/1.173, allocations: 12.19 MB / 0.8401 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-05/1.173, allocations: 23.94 kB / 0.8401 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.492e-05/1.173, allocations: 20 kB / 0.8402 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-05/1.173, allocations: 11.95 kB / 0.8402 GB, free: 11.47 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 postOpt removeSimpleEquations (simulation): time 0.05235/1.226, allocations: 15.51 MB / 0.8553 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/1.226, allocations: 4 kB / 0.8553 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/1.229, allocations: 255.8 kB / 0.8556 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02469/1.253, allocations: 4.767 MB / 0.8602 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007381/1.254, allocations: 8 kB / 0.8602 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03371/1.288, allocations: 15.17 MB / 0.875 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.288, allocations: 0 / 0.875 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03952/1.327, allocations: 14.12 MB / 0.8888 GB, free: 9.328 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009414/1.328, allocations: 373.3 kB / 0.8892 GB, free: 8.941 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005918/1.329, allocations: 7.984 kB / 0.8892 GB, free: 8.934 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/1.332, allocations: 327.7 kB / 0.8895 GB, free: 8.613 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001789/1.334, allocations: 0.5446 MB / 0.89 GB, free: 8.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.334, allocations: 59.98 kB / 0.8901 GB, free: 8.012 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00171/1.336, allocations: 1.138 MB / 0.8912 GB, free: 6.863 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.336, allocations: 0 / 0.8912 GB, free: 6.863 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005116/1.341, allocations: 1.548 MB / 0.8927 GB, free: 5.312 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.3235/1.664, allocations: 14.96 MB / 0.9073 GB, free: 178.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02369/1.688, allocations: 9.133 MB / 0.9162 GB, free: 177.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.688, allocations: 0 / 0.9162 GB, free: 177.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01081/1.699, allocations: 3.796 MB / 0.92 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/1.701, allocations: 151.8 kB / 0.9201 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008354/1.709, allocations: 4.318 MB / 0.9243 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.71, allocations: 1.795 MB / 0.9261 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001484/1.711, allocations: 352.9 kB / 0.9264 GB, free: 174.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.712, allocations: 1.076 MB / 0.9275 GB, free: 174.9 MB / 0.573 GB Notification: Performance of SimCode: time 7.91e-07/1.712, allocations: 0 / 0.9275 GB, free: 174.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.827, allocations: 90.44 MB / 1.016 GB, free: 99.17 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.827, allocations: 149.7 kB / 1.016 GB, free: 98.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.056/6.883, allocations: 3.875 kB / 1.016 GB, free: 98.98 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)