Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 106.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 244.8 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 197.5 kB / 299.8 MB, free: 9.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4793/0.4793, allocations: 79.72 MB / 434.4 MB, free: 6.207 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 83.86 kB / 0.5784 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1534, allocations: 72.09 MB / 0.6488 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01597/0.1693, allocations: 13.87 MB / 0.6624 GB, free: 3.754 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008657/0.178, allocations: 3.523 MB / 0.6658 GB, free: 228 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.1805, allocations: 31.94 kB / 0.6659 GB, free: 196 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.1825, allocations: 0.5616 MB / 0.6664 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005286/0.1878, allocations: 1.592 MB / 0.668 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.1917, allocations: 1.527 MB / 0.6694 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005779/0.1975, allocations: 3.808 MB / 0.6732 GB, free: 8.699 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.1988, allocations: 0.6123 MB / 0.6738 GB, free: 8.035 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.2013, allocations: 1.564 MB / 0.6753 GB, free: 6.465 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.2046, allocations: 2.034 MB / 0.6773 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.2057, allocations: 296 kB / 0.6776 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.2071, allocations: 435.9 kB / 0.678 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008176/0.2079, allocations: 0.7896 MB / 0.6787 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.2097, allocations: 1.662 MB / 0.6804 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005076/0.2148, allocations: 4.072 MB / 0.6843 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2148, allocations: 0 / 0.6843 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2148, allocations: 0 / 0.6843 GB, free: 13.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.254e-05/0.2149, allocations: 0 / 0.6843 GB, free: 13.15 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02453/0.2394, allocations: 6.775 MB / 0.691 GB, free: 6.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.2395, allocations: 12.03 kB / 0.691 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004327/0.2399, allocations: 311.2 kB / 0.6913 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.2548, allocations: 2.3 MB / 0.6935 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.2595, allocations: 1.932 MB / 0.6954 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008425/0.2603, allocations: 0.7252 MB / 0.6961 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005835/0.2609, allocations: 216 kB / 0.6963 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3163/0.5772, allocations: 3.051 MB / 0.6993 GB, free: 40.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/0.5772, allocations: 4.453 kB / 0.6993 GB, free: 40.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.5775, allocations: 84.55 kB / 0.6994 GB, free: 40.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/0.5776, allocations: 49.56 kB / 0.6994 GB, free: 40.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00738/0.585, allocations: 2.803 MB / 0.7022 GB, free: 39.77 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02314/0.6081, allocations: 9.913 MB / 0.7118 GB, free: 34.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.6189, allocations: 4.015 MB / 0.7158 GB, free: 33.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004154/0.623, allocations: 1.791 MB / 0.7175 GB, free: 32.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/0.6234, allocations: 46.23 kB / 0.7176 GB, free: 32.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005138/0.6285, allocations: 2.252 MB / 0.7198 GB, free: 31.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 1.199e-05/0.6286, allocations: 0 / 0.7198 GB, free: 31.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1106/0.7391, allocations: 28.75 MB / 0.7478 GB, free: 10.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.7392, allocations: 184.2 kB / 0.748 GB, free: 10.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.7433, allocations: 2.331 MB / 0.7503 GB, free: 8.414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008142/0.7441, allocations: 69.7 kB / 0.7504 GB, free: 8.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000913/0.745, allocations: 1.199 MB / 0.7515 GB, free: 7.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/0.7465, allocations: 0.9268 MB / 0.7524 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/0.7485, allocations: 0.57 MB / 0.753 GB, free: 5.855 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.7485, allocations: 305.1 kB / 0.7533 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/0.7526, allocations: 1.986 MB / 0.7552 GB, free: 3.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004183/0.7568, allocations: 2.36 MB / 0.7575 GB, free: 1.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05727/0.814, allocations: 14.37 MB / 0.7716 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.8141, allocations: 4 kB / 0.7716 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04463/0.8587, allocations: 12.54 MB / 0.7838 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.8588, allocations: 115.4 kB / 0.7839 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.75e-05/0.8589, allocations: 8 kB / 0.7839 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/0.8778, allocations: 5.433 MB / 0.7892 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/0.881, allocations: 0.5812 MB / 0.7898 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06513/0.9461, allocations: 23.67 MB / 0.8129 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/0.9513, allocations: 0.4948 MB / 0.8134 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009319/0.9523, allocations: 123.9 kB / 0.8135 GB, free: 7.41 MB / 0.545 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"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: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.00273/0.955, allocations: 0.5334 MB / 0.814 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001458/0.9564, allocations: 314 kB / 0.8143 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04142/0.9979, allocations: 11.86 MB / 0.8259 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/0.9979, allocations: 28 kB / 0.8259 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-05/0.998, allocations: 20 kB / 0.826 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.851e-05/0.9981, allocations: 15.95 kB / 0.826 GB, free: 10.54 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0503/1.048, allocations: 15.5 MB / 0.8411 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.048, allocations: 0 / 0.8411 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.05, allocations: 247.7 kB / 0.8413 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01818/1.068, allocations: 5.282 MB / 0.8465 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007785/1.069, allocations: 51.98 kB / 0.8466 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06366/1.133, allocations: 24.96 MB / 0.8709 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.133, allocations: 0 / 0.8709 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04722/1.18, allocations: 14.27 MB / 0.8849 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.181, allocations: 433.1 kB / 0.8853 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/1.182, allocations: 44 kB / 0.8853 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/1.186, allocations: 307.5 kB / 0.8856 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002586/1.189, allocations: 0.5842 MB / 0.8862 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005022/1.189, allocations: 63.98 kB / 0.8863 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003292/1.193, allocations: 1.547 MB / 0.8878 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.193, allocations: 0 / 0.8878 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004925/1.198, allocations: 1.194 MB / 0.8889 GB, free: 9.406 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04687/1.244, allocations: 14.91 MB / 0.9035 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01994/1.264, allocations: 6.487 MB / 0.9098 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.264, allocations: 4 kB / 0.9098 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01352/1.278, allocations: 4.252 MB / 0.914 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.281, allocations: 274.3 kB / 0.9142 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1257/1.407, allocations: 42.08 MB / 0.9553 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/1.41, allocations: 1.819 MB / 0.9571 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001598/1.411, allocations: 270.8 kB / 0.9574 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/1.413, allocations: 1.249 MB / 0.9586 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of SimCode: time 1.192e-06/1.413, allocations: 0 / 0.9586 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4882/1.901, allocations: 91.83 MB / 1.048 GB, free: 174 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.53/21.43, allocations: 16.83 kB / 1.048 GB, free: 174 MB / 0.6856 GB " [Timeout remaining time 638] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.319629036821425] Failed to read output from testmodel.py, exit status != 0: 21.568394822999835 21.577585977 21.360654312 Calling exit ...