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.001386/0.001386, allocations: 175.2 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.228/1.228, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.000897/0.000897, allocations: 93.47 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4604/0.4604, allocations: 78.9 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.224e-05, allocations: 4 kB / 492.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2925, allocations: 69.51 MB / 0.5492 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.406, allocations: 99.59 MB / 0.6465 GB, free: 15.99 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.4063, allocations: 79.89 kB / 0.6465 GB, free: 15.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4172/0.8235, allocations: 62.48 MB / 0.7076 GB, free: 99.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8236, allocations: 4 kB / 0.7076 GB, free: 99.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002033/0.8238, allocations: 54.69 kB / 0.7076 GB, free: 99.28 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.01141/0.8352, allocations: 3.763 MB / 0.7113 GB, free: 97.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.8352, allocations: 15.91 kB / 0.7113 GB, free: 97.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008567/0.8361, allocations: 290.4 kB / 0.7116 GB, free: 96.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009589/0.8457, allocations: 1.577 MB / 0.7131 GB, free: 95.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.8493, allocations: 1.468 MB / 0.7146 GB, free: 93.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005719/0.8499, allocations: 0.6864 MB / 0.7152 GB, free: 92.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008643/0.8508, allocations: 195.9 kB / 0.7154 GB, free: 92.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005546/0.8563, allocations: 2.426 MB / 0.7178 GB, free: 90.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/0.8564, allocations: 0 / 0.7178 GB, free: 90.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004441/0.8569, allocations: 79.98 kB / 0.7179 GB, free: 90.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.8569, allocations: 44 kB / 0.7179 GB, free: 90.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.8609, allocations: 2.179 MB / 0.72 GB, free: 87.96 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.01771/0.8787, allocations: 9.673 MB / 0.7295 GB, free: 77.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008865/0.8876, allocations: 4.057 MB / 0.7334 GB, free: 73.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.8904, allocations: 1.448 MB / 0.7349 GB, free: 72.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000418/0.8908, allocations: 37.95 kB / 0.7349 GB, free: 72.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.8909, allocations: 56.56 kB / 0.7349 GB, free: 72.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 4.369e-06/0.8909, allocations: 0 / 0.7349 GB, free: 72.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03463/0.9255, allocations: 12.09 MB / 0.7467 GB, free: 60.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.9256, allocations: 128.8 kB / 0.7469 GB, free: 59.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.9283, allocations: 1.656 MB / 0.7485 GB, free: 58.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005479/0.9288, allocations: 65.7 kB / 0.7485 GB, free: 58.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006805/0.9295, allocations: 1.132 MB / 0.7497 GB, free: 57.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.9306, allocations: 0.7854 MB / 0.7504 GB, free: 56.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.931, allocations: 44 kB / 0.7505 GB, free: 56.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9311, allocations: 386.3 kB / 0.7508 GB, free: 55.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.9333, allocations: 1.16 MB / 0.752 GB, free: 54.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.9355, allocations: 1.467 MB / 0.7534 GB, free: 53.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.9377, allocations: 1.285 MB / 0.7547 GB, free: 51.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9377, allocations: 0 / 0.7547 GB, free: 51.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03479/0.9725, allocations: 12.25 MB / 0.7666 GB, free: 39.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004982/0.9731, allocations: 2.731 MB / 0.7693 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.9731, allocations: 8 kB / 0.7693 GB, free: 36.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01528/0.9884, allocations: 5.223 MB / 0.7744 GB, free: 31.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.9903, allocations: 343.5 kB / 0.7747 GB, free: 30.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03844/1.029, allocations: 17.89 MB / 0.7922 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/1.032, allocations: 493.8 kB / 0.7927 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006156/1.033, allocations: 75.98 kB / 0.7927 GB, free: 12.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.033, allocations: 4 kB / 0.7927 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03357/1.067, allocations: 11.98 MB / 0.8044 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/1.067, allocations: 8 kB / 0.8044 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/1.083, allocations: 5.211 MB / 0.8095 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.085, allocations: 319.5 kB / 0.8098 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0426/1.127, allocations: 17.88 MB / 0.8273 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/1.131, allocations: 470 kB / 0.8277 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005496/1.132, allocations: 75.98 kB / 0.8278 GB, free: 8.289 MB / 0.5105 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.001007/1.133, allocations: 229.8 kB / 0.828 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009213/1.134, allocations: 280.6 kB / 0.8283 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03742/1.171, allocations: 12.41 MB / 0.8404 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/1.171, allocations: 24 kB / 0.8404 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.759e-05/1.171, allocations: 16 kB / 0.8405 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.052e-05/1.171, allocations: 15.94 kB / 0.8405 GB, free: 11.28 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.04517/1.217, allocations: 15.94 MB / 0.856 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/1.217, allocations: 0 / 0.856 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.218, allocations: 247.8 kB / 0.8563 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01534/1.234, allocations: 4.814 MB / 0.861 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006299/1.234, allocations: 40 kB / 0.861 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03761/1.272, allocations: 15.37 MB / 0.876 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.272, allocations: 0 / 0.876 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04228/1.314, allocations: 14.31 MB / 0.89 GB, free: 8.184 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009635/1.315, allocations: 381.2 kB / 0.8904 GB, free: 7.789 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009607/1.316, allocations: 47.95 kB / 0.8904 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/1.32, allocations: 363.7 kB / 0.8908 GB, free: 7.387 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002157/1.322, allocations: 0.5408 MB / 0.8913 GB, free: 6.844 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00048/1.323, allocations: 56 kB / 0.8913 GB, free: 6.789 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002375/1.325, allocations: 1.278 MB / 0.8926 GB, free: 5.496 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.81e-07/1.325, allocations: 0 / 0.8926 GB, free: 5.496 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006356/1.331, allocations: 1.708 MB / 0.8942 GB, free: 3.785 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.3528/1.684, allocations: 15.19 MB / 0.9091 GB, free: 177.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.025/1.709, allocations: 9.424 MB / 0.9183 GB, free: 176.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.709, allocations: 0 / 0.9183 GB, free: 176.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01092/1.72, allocations: 3.886 MB / 0.9221 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/1.722, allocations: 191.7 kB / 0.9223 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/1.731, allocations: 4.496 MB / 0.9267 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.732, allocations: 1.797 MB / 0.9284 GB, free: 174 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001581/1.734, allocations: 355.2 kB / 0.9287 GB, free: 174 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009837/1.735, allocations: 1.074 MB / 0.9298 GB, free: 174 MB / 0.573 GB Notification: Performance of SimCode: time 9.12e-07/1.735, allocations: 0 / 0.9298 GB, free: 174 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/1.86, allocations: 96.65 MB / 1.024 GB, free: 87.29 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.86, allocations: 192 kB / 1.024 GB, free: 87.06 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.052/6.912, allocations: 0 / 1.024 GB, free: 87.06 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)