Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001754/0.001754, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.483/1.483, allocations: 225.6 MB / 244.8 MB, free: 14.17 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.001606/0.001606, allocations: 196.2 kB / 299.8 MB, free: 9.82 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.5119/0.5119, allocations: 79.72 MB / 434.4 MB, free: 6.223 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.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 83.86 kB / 0.5784 GB, free: 9.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.165, allocations: 72.09 MB / 0.6488 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008307/0.1733, allocations: 6.528 MB / 0.6552 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005032/0.1783, allocations: 1.962 MB / 0.6571 GB, free: 9.266 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008706/0.1792, allocations: 15.94 kB / 0.6571 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008263/0.18, allocations: 242 kB / 0.6573 GB, free: 9.012 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.1824, allocations: 0.8438 MB / 0.6581 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.184, allocations: 0.6332 MB / 0.6588 GB, free: 7.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.1861, allocations: 1.581 MB / 0.6603 GB, free: 5.953 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.1865, allocations: 226.4 kB / 0.6605 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1875, allocations: 0.6613 MB / 0.6612 GB, free: 5.055 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.1886, allocations: 0.8362 MB / 0.662 GB, free: 4.215 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.1887, allocations: 120 kB / 0.6621 GB, free: 4.098 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005759/0.1893, allocations: 267.8 kB / 0.6624 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.1896, allocations: 326.6 kB / 0.6627 GB, free: 3.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006646/0.1903, allocations: 0.6757 MB / 0.6633 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.1924, allocations: 1.665 MB / 0.665 GB, free: 1.164 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1924, allocations: 0 / 0.665 GB, free: 1.164 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1924, allocations: 4 kB / 0.665 GB, free: 1.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.1924, allocations: 0 / 0.665 GB, free: 1.16 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009232/0.2017, allocations: 2.726 MB / 0.6676 GB, free: 14.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.2017, allocations: 8.031 kB / 0.6676 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.2019, allocations: 130.6 kB / 0.6677 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005091/0.207, allocations: 0.7796 MB / 0.6685 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.2088, allocations: 0.899 MB / 0.6694 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.2092, allocations: 264.1 kB / 0.6696 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.2093, allocations: 84 kB / 0.6697 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.2116, allocations: 1.083 MB / 0.6708 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.2116, allocations: 0 / 0.6708 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.2117, allocations: 28 kB / 0.6708 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.2117, allocations: 20 kB / 0.6708 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.2139, allocations: 0.9916 MB / 0.6718 GB, free: 9.977 MB / 478.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.007256/0.2211, allocations: 3.801 MB / 0.6755 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007491/0.2286, allocations: 2.301 MB / 0.6778 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.23, allocations: 0.6176 MB / 0.6784 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.024e-05/0.2301, allocations: 9 kB / 0.6784 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/0.2318, allocations: 0.8176 MB / 0.6792 GB, free: 2.133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.316e-06/0.2318, allocations: 4 kB / 0.6792 GB, free: 2.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.02909/0.2609, allocations: 7.16 MB / 0.6862 GB, free: 10.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.261, allocations: 131.7 kB / 0.6863 GB, free: 10.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.2629, allocations: 1.091 MB / 0.6873 GB, free: 9.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.2631, allocations: 49.7 kB / 0.6874 GB, free: 9.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/0.2636, allocations: 497.4 kB / 0.6879 GB, free: 9.102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/0.264, allocations: 368.9 kB / 0.6882 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005056/0.2645, allocations: 283.5 kB / 0.6885 GB, free: 8.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2646, allocations: 305.1 kB / 0.6888 GB, free: 8.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.2663, allocations: 0.7535 MB / 0.6895 GB, free: 7.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.268, allocations: 0.9252 MB / 0.6904 GB, free: 6.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02354/0.2916, allocations: 5.556 MB / 0.6958 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.2916, allocations: 4 kB / 0.6959 GB, free: 0.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.3364/0.628, allocations: 4.331 MB / 0.7001 GB, free: 43.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.6281, allocations: 62.09 kB / 0.7001 GB, free: 43.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.6281, allocations: 3 kB / 0.7001 GB, free: 43.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006339/0.6345, allocations: 1.591 MB / 0.7017 GB, free: 43.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.6361, allocations: 287.7 kB / 0.702 GB, free: 43.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.6571, allocations: 8.508 MB / 0.7103 GB, free: 40.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.6591, allocations: 198.5 kB / 0.7105 GB, free: 40.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.6593, allocations: 55.98 kB / 0.7105 GB, free: 40.34 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006997/0.66, allocations: 304.4 kB / 0.7108 GB, free: 40.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.6602, allocations: 129.5 kB / 0.7109 GB, free: 40.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.6731, allocations: 3.85 MB / 0.7147 GB, free: 39.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.6731, allocations: 12.83 kB / 0.7147 GB, free: 39.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.6731, allocations: 7.156 kB / 0.7147 GB, free: 39.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.6731, allocations: 7.984 kB / 0.7147 GB, free: 39.1 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 postOpt removeSimpleEquations (simulation): time 0.01453/0.6877, allocations: 5.43 MB / 0.72 GB, free: 36.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.6877, allocations: 2.438 kB / 0.72 GB, free: 36.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.6884, allocations: 99.62 kB / 0.7201 GB, free: 36.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/0.6937, allocations: 1.601 MB / 0.7217 GB, free: 36.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/0.6939, allocations: 21.48 kB / 0.7217 GB, free: 36.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/0.7113, allocations: 9.648 MB / 0.7311 GB, free: 29.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7113, allocations: 4 kB / 0.7311 GB, free: 29.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/0.7239, allocations: 4.713 MB / 0.7357 GB, free: 25.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006531/0.7245, allocations: 229.7 kB / 0.736 GB, free: 25.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.7247, allocations: 19.94 kB / 0.736 GB, free: 25.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.7258, allocations: 110.1 kB / 0.7361 GB, free: 24.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006114/0.7264, allocations: 196.7 kB / 0.7363 GB, free: 24.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.7265, allocations: 31.98 kB / 0.7363 GB, free: 24.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009493/0.7274, allocations: 0.7288 MB / 0.737 GB, free: 24 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7274, allocations: 0 / 0.737 GB, free: 24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001504/0.7289, allocations: 477.6 kB / 0.7375 GB, free: 23.55 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01263/0.7416, allocations: 5.285 MB / 0.7426 GB, free: 18.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005726/0.7473, allocations: 2.376 MB / 0.7449 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7473, allocations: 0 / 0.7449 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.7511, allocations: 1.543 MB / 0.7465 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.7523, allocations: 114 kB / 0.7466 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/0.7874, allocations: 15.99 MB / 0.7622 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/0.7883, allocations: 1.12 MB / 0.7633 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006473/0.7889, allocations: 120 kB / 0.7634 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007/0.7896, allocations: 479.3 kB / 0.7638 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/0.7896, allocations: 3.938 kB / 0.7638 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0861/0.8757, allocations: 34.62 MB / 0.7977 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.85, allocations: 1.094 kB / 0.7977 GB, free: 9.766 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.469348867423832] Failed to read output from testmodel.py, exit status != 0: 15.962399111129344 15.979497793 15.783869102 Calling exit ...