Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008749/0.0008748, allocations: 80.75 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06742/0.06742, allocations: 12.19 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3104/0.3104, allocations: 78.07 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 69.24 MB / 0.5819 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5256/0.6828, allocations: 100.1 MB / 0.6796 GB, free: 8.512 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.6831, allocations: 79.58 kB / 0.6797 GB, free: 8.469 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1441/0.8272, allocations: 59.46 MB / 0.7377 GB, free: 7.703 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.8273, allocations: 0 / 0.7377 GB, free: 7.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001447/0.8274, allocations: 55.92 kB / 0.7378 GB, free: 7.648 MB / 474.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.01225/0.8397, allocations: 3.789 MB / 0.7415 GB, free: 4.121 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.8397, allocations: 8.031 kB / 0.7415 GB, free: 4.113 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009803/0.8496, allocations: 1.573 MB / 0.743 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.8534, allocations: 1.495 MB / 0.7445 GB, free: 1.035 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006511/0.8541, allocations: 0.6084 MB / 0.7451 GB, free: 336 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.8545, allocations: 116 kB / 0.7452 GB, free: 220 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003703/0.8582, allocations: 2.093 MB / 0.7472 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.8619, allocations: 2.165 MB / 0.7493 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.862, allocations: 0 / 0.7493 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.8622, allocations: 0 / 0.7493 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.8622, allocations: 51.94 kB / 0.7494 GB, free: 11.88 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.018/0.8802, allocations: 9.399 MB / 0.7586 GB, free: 2.078 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009627/0.8899, allocations: 4.006 MB / 0.7625 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/0.8926, allocations: 1.383 MB / 0.7638 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.8929, allocations: 33.97 kB / 0.7639 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.893, allocations: 56.56 kB / 0.7639 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=230): time 6.642e-06/0.893, allocations: 0 / 0.7639 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=230): time 0.03561/0.9286, allocations: 11.94 MB / 0.7756 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.9287, allocations: 132.8 kB / 0.7757 GB, free: 360 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.9312, allocations: 1.531 MB / 0.7772 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006318/0.9318, allocations: 25.7 kB / 0.7772 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007743/0.9326, allocations: 1.136 MB / 0.7783 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009604/0.9336, allocations: 0.7618 MB / 0.7791 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.9338, allocations: 0 / 0.7791 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.9339, allocations: 391 kB / 0.7795 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.9357, allocations: 1.129 MB / 0.7806 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.9377, allocations: 1.424 MB / 0.7819 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.9396, allocations: 1.236 MB / 0.7832 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.9396, allocations: 4 kB / 0.7832 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03548/0.9751, allocations: 12.12 MB / 0.795 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008396/0.976, allocations: 2.728 MB / 0.7977 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.976, allocations: 19.89 kB / 0.7977 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01627/0.9923, allocations: 5.056 MB / 0.8026 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.994, allocations: 323.5 kB / 0.8029 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03965/1.034, allocations: 18.89 MB / 0.8214 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/1.038, allocations: 445.8 kB / 0.8218 GB, free: 500 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00049/1.038, allocations: 75.97 kB / 0.8219 GB, free: 424 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.038, allocations: 4 kB / 0.8219 GB, free: 420 kB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03499/1.073, allocations: 11.8 MB / 0.8334 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/1.073, allocations: 4 kB / 0.8334 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01581/1.089, allocations: 5.048 MB / 0.8383 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.091, allocations: 303.6 kB / 0.8386 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4002/1.491, allocations: 18.89 MB / 0.8571 GB, free: 145 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/1.495, allocations: 419.1 kB / 0.8575 GB, free: 145 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/1.495, allocations: 81.39 kB / 0.8575 GB, free: 145 MB / 0.573 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.0007407/1.496, allocations: 150.1 kB / 0.8577 GB, free: 144.9 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03843/1.534, allocations: 11.93 MB / 0.8693 GB, free: 144.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.536, allocations: 272.8 kB / 0.8696 GB, free: 144.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0357/1.572, allocations: 12.22 MB / 0.8815 GB, free: 144.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.177e-05/1.572, allocations: 24.38 kB / 0.8815 GB, free: 144.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.878e-05/1.572, allocations: 16.81 kB / 0.8816 GB, free: 144.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-05/1.572, allocations: 10.64 kB / 0.8816 GB, free: 144.5 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.03849/1.61, allocations: 15.56 MB / 0.8968 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.61, allocations: 2.531 kB / 0.8968 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.612, allocations: 248.5 kB / 0.897 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01346/1.626, allocations: 4.826 MB / 0.9017 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006411/1.626, allocations: 23.86 kB / 0.9018 GB, free: 143.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03036/1.657, allocations: 15.16 MB / 0.9166 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.657, allocations: 3.906 kB / 0.9166 GB, free: 139.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03734/1.694, allocations: 14.14 MB / 0.9304 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.695, allocations: 379.5 kB / 0.9307 GB, free: 130.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000507/1.696, allocations: 8 kB / 0.9307 GB, free: 130.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.698, allocations: 325.4 kB / 0.931 GB, free: 130.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001869/1.7, allocations: 0.5409 MB / 0.9316 GB, free: 130 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.7, allocations: 59.8 kB / 0.9316 GB, free: 129.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001607/1.702, allocations: 1.15 MB / 0.9328 GB, free: 128.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.403e-06/1.702, allocations: 0 / 0.9328 GB, free: 128.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004684/1.707, allocations: 1.577 MB / 0.9343 GB, free: 127.4 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.037/1.744, allocations: 14.99 MB / 0.9489 GB, free: 115 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02425/1.768, allocations: 9.41 MB / 0.9581 GB, free: 106.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.768, allocations: 0 / 0.9581 GB, free: 106.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/1.78, allocations: 3.845 MB / 0.9619 GB, free: 103.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.782, allocations: 148 kB / 0.962 GB, free: 103.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009872/1.792, allocations: 4.427 MB / 0.9663 GB, free: 99.17 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.793, allocations: 1.808 MB / 0.9681 GB, free: 97.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001603/1.795, allocations: 354.6 kB / 0.9684 GB, free: 97.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.796, allocations: 1.078 MB / 0.9695 GB, free: 96.53 MB / 0.573 GB Notification: Performance of SimCode: time 1.933e-06/1.796, allocations: 0 / 0.9695 GB, free: 96.53 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/1.945, allocations: 91.33 MB / 1.059 GB, free: 9.234 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/1.945, allocations: 150.8 kB / 1.059 GB, free: 9.039 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.413/7.358, allocations: 0 / 1.059 GB, free: 9.039 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)