Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.002111/0.002111, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.4 MB / 234.6 MB, free: 14.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008632, allocations: 89.39 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5044/0.5044, allocations: 78.09 MB / 414.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.979e-05/4.003e-05, allocations: 7.984 kB / 491.9 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3811, allocations: 69.34 MB / 0.5481 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.5035, allocations: 99.23 MB / 0.645 GB, free: 1.312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5038, allocations: 79.95 kB / 0.6451 GB, free: 1.234 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5075/1.011, allocations: 62.06 MB / 0.7057 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.011, allocations: 0 / 0.7057 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002489/1.012, allocations: 57.16 kB / 0.7057 GB, free: 100.1 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01294/1.025, allocations: 3.784 MB / 0.7094 GB, free: 97.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.025, allocations: 14.16 kB / 0.7094 GB, free: 97.92 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001172/1.026, allocations: 290.9 kB / 0.7097 GB, free: 97.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/1.036, allocations: 1.574 MB / 0.7113 GB, free: 97.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/1.04, allocations: 1.493 MB / 0.7127 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006501/1.041, allocations: 0.6825 MB / 0.7134 GB, free: 95.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009217/1.042, allocations: 196 kB / 0.7136 GB, free: 94.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005772/1.048, allocations: 2.431 MB / 0.7159 GB, free: 92.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/1.048, allocations: 0 / 0.7159 GB, free: 92.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/1.048, allocations: 76 kB / 0.716 GB, free: 92.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/1.048, allocations: 48 kB / 0.7161 GB, free: 92.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004161/1.052, allocations: 2.198 MB / 0.7182 GB, free: 90.15 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.01849/1.071, allocations: 9.708 MB / 0.7277 GB, free: 80.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009224/1.08, allocations: 4.076 MB / 0.7317 GB, free: 75.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/1.083, allocations: 1.448 MB / 0.7331 GB, free: 74.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004382/1.083, allocations: 42.27 kB / 0.7331 GB, free: 74.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/1.083, allocations: 60.55 kB / 0.7332 GB, free: 74.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 4.509e-06/1.083, allocations: 0 / 0.7332 GB, free: 74.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03644/1.12, allocations: 12.09 MB / 0.745 GB, free: 62.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/1.12, allocations: 140.7 kB / 0.7451 GB, free: 62.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/1.123, allocations: 1.68 MB / 0.7468 GB, free: 60.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006424/1.123, allocations: 65.7 kB / 0.7468 GB, free: 60.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/1.124, allocations: 1.117 MB / 0.7479 GB, free: 59.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.125, allocations: 0.8006 MB / 0.7487 GB, free: 58.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/1.126, allocations: 44 kB / 0.7487 GB, free: 58.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/1.126, allocations: 386.3 kB / 0.7491 GB, free: 57.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/1.128, allocations: 1.164 MB / 0.7502 GB, free: 56.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/1.131, allocations: 1.483 MB / 0.7517 GB, free: 55.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/1.133, allocations: 1.275 MB / 0.7529 GB, free: 53.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.133, allocations: 7.953 kB / 0.7529 GB, free: 53.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03642/1.169, allocations: 12.32 MB / 0.765 GB, free: 41.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008908/1.17, allocations: 2.745 MB / 0.7677 GB, free: 38.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/1.17, allocations: 8 kB / 0.7677 GB, free: 38.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01689/1.187, allocations: 5.303 MB / 0.7728 GB, free: 33.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.189, allocations: 311.5 kB / 0.7731 GB, free: 33.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04308/1.232, allocations: 19.26 MB / 0.7919 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/1.236, allocations: 0.49 MB / 0.7924 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006886/1.237, allocations: 79.98 kB / 0.7925 GB, free: 12.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.237, allocations: 8 kB / 0.7925 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03561/1.273, allocations: 12.05 MB / 0.8043 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/1.273, allocations: 8 kB / 0.8043 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01779/1.291, allocations: 5.298 MB / 0.8095 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/1.293, allocations: 303.6 kB / 0.8097 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04432/1.337, allocations: 19.26 MB / 0.8286 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/1.341, allocations: 477.8 kB / 0.829 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/1.341, allocations: 75.98 kB / 0.8291 GB, free: 7.191 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 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.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007005/1.342, allocations: 229.7 kB / 0.8293 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007315/1.343, allocations: 272.6 kB / 0.8296 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03754/1.38, allocations: 12.44 MB / 0.8417 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.38, allocations: 24 kB / 0.8417 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/1.38, allocations: 16 kB / 0.8417 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-05/1.381, allocations: 11.95 kB / 0.8418 GB, free: 10.17 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.04418/1.425, allocations: 15.96 MB / 0.8573 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/1.425, allocations: 8.062 kB / 0.8574 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.427, allocations: 255.7 kB / 0.8576 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/1.442, allocations: 4.867 MB / 0.8623 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007084/1.443, allocations: 51.88 kB / 0.8624 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03559/1.478, allocations: 15.35 MB / 0.8774 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.478, allocations: 3.938 kB / 0.8774 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04188/1.52, allocations: 14.35 MB / 0.8914 GB, free: 6.973 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.521, allocations: 381.2 kB / 0.8918 GB, free: 6.578 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009363/1.522, allocations: 44 kB / 0.8918 GB, free: 6.535 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003524/1.526, allocations: 363.7 kB / 0.8922 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002174/1.528, allocations: 0.5447 MB / 0.8927 GB, free: 5.633 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003194/1.528, allocations: 59.95 kB / 0.8927 GB, free: 5.574 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002103/1.53, allocations: 1.286 MB / 0.894 GB, free: 4.273 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.53, allocations: 0 / 0.894 GB, free: 4.273 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005725/1.536, allocations: 1.72 MB / 0.8957 GB, free: 2.551 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (149): * Single equations (assignments): 148 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3792/1.915, allocations: 15.22 MB / 0.9106 GB, free: 178.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02663/1.942, allocations: 9.704 MB / 0.92 GB, free: 177.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/1.942, allocations: 0 / 0.92 GB, free: 177.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01154/1.954, allocations: 3.938 MB / 0.9239 GB, free: 177 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.956, allocations: 189.9 kB / 0.9241 GB, free: 177 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.966, allocations: 4.595 MB / 0.9285 GB, free: 175.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.967, allocations: 1.806 MB / 0.9303 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001626/1.969, allocations: 358.9 kB / 0.9306 GB, free: 174.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.97, allocations: 1.077 MB / 0.9317 GB, free: 174.1 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/1.97, allocations: 3.281 kB / 0.9317 GB, free: 174.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/2.099, allocations: 97.58 MB / 1.027 GB, free: 85.21 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/2.099, allocations: 208.2 kB / 1.027 GB, free: 84.97 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.494/7.593, allocations: 0 / 1.027 GB, free: 84.97 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)