Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 252.6 MB, free: 8.324 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 222.6 kB / 309.2 MB, free: 3.164 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.4534/0.4534, allocations: 79.74 MB / 445.4 MB, free: 14.88 MB / 318.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 86.06 kB / 0.5929 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1509, allocations: 73.3 MB / 0.6645 GB, free: 4.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006133/0.157, allocations: 4.949 MB / 0.6693 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1604, allocations: 1.665 MB / 0.671 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.1607, allocations: 7.938 kB / 0.671 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.1611, allocations: 158.7 kB / 0.6711 GB, free: 13.82 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001586/0.1627, allocations: 0.6937 MB / 0.6718 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008531/0.1635, allocations: 415.1 kB / 0.6722 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1648, allocations: 1.082 MB / 0.6733 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.1651, allocations: 154.7 kB / 0.6734 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.1657, allocations: 466.2 kB / 0.6738 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006935/0.1663, allocations: 0.564 MB / 0.6744 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.1665, allocations: 100 kB / 0.6745 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.1669, allocations: 251.8 kB / 0.6747 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.1671, allocations: 227.1 kB / 0.6749 GB, free: 9.879 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.1676, allocations: 481.4 kB / 0.6754 GB, free: 9.406 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.1689, allocations: 1.269 MB / 0.6766 GB, free: 8.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1689, allocations: 4 kB / 0.6766 GB, free: 8.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1689, allocations: 4 kB / 0.6767 GB, free: 8.125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.169, allocations: 0 / 0.6767 GB, free: 8.125 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005408/0.1744, allocations: 1.727 MB / 0.6783 GB, free: 6.363 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1744, allocations: 11.98 kB / 0.6784 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.1745, allocations: 94.7 kB / 0.6784 GB, free: 6.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.1779, allocations: 0.5229 MB / 0.679 GB, free: 5.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.1789, allocations: 0.582 MB / 0.6795 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.1791, allocations: 189.5 kB / 0.6797 GB, free: 4.898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.1793, allocations: 52 kB / 0.6798 GB, free: 4.848 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.1806, allocations: 0.6545 MB / 0.6804 GB, free: 4.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1806, allocations: 7.922 kB / 0.6804 GB, free: 4.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.1807, allocations: 20 kB / 0.6804 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.1807, allocations: 15.94 kB / 0.6804 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.182, allocations: 0.6325 MB / 0.681 GB, free: 3.512 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.004662/0.1866, allocations: 2.589 MB / 0.6836 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.1984, allocations: 2.6 MB / 0.6861 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009393/0.1993, allocations: 406.2 kB / 0.6865 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-05/0.1994, allocations: 12.47 kB / 0.6865 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1994, allocations: 39.06 kB / 0.6866 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=57): time 5.841e-06/0.1995, allocations: 7.984 kB / 0.6866 GB, free: 13.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=57): time 0.01251/0.212, allocations: 3.288 MB / 0.6898 GB, free: 10.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.212, allocations: 63.84 kB / 0.6898 GB, free: 10.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.2132, allocations: 0.7739 MB / 0.6906 GB, free: 9.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.094e-05/0.2132, allocations: 33.7 kB / 0.6906 GB, free: 9.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.2135, allocations: 361.1 kB / 0.691 GB, free: 9.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.2138, allocations: 214.2 kB / 0.6912 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.2141, allocations: 178.5 kB / 0.6913 GB, free: 8.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.2143, allocations: 390.7 kB / 0.6917 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.2153, allocations: 0.4939 MB / 0.6922 GB, free: 7.898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.2164, allocations: 0.5953 MB / 0.6928 GB, free: 7.277 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/0.2327, allocations: 3.67 MB / 0.6964 GB, free: 3.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.2327, allocations: 0 / 0.6964 GB, free: 3.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007391/0.2401, allocations: 2.384 MB / 0.6987 GB, free: 1.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.2401, allocations: 8 kB / 0.6987 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2401, allocations: 0 / 0.6987 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/0.2443, allocations: 1.054 MB / 0.6997 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2914/0.5357, allocations: 145.8 kB / 0.6999 GB, free: 34.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009987/0.5457, allocations: 4.972 MB / 0.7047 GB, free: 33.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.5469, allocations: 118.5 kB / 0.7048 GB, free: 33.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.547, allocations: 29.78 kB / 0.7049 GB, free: 33.49 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004/0.5474, allocations: 215.3 kB / 0.7051 GB, free: 33.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.5475, allocations: 85.59 kB / 0.7051 GB, free: 33.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/0.5536, allocations: 1.926 MB / 0.707 GB, free: 33.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.5536, allocations: 6.594 kB / 0.707 GB, free: 33.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5536, allocations: 8.547 kB / 0.707 GB, free: 33.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.5536, allocations: 3.281 kB / 0.707 GB, free: 33.27 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.007445/0.5611, allocations: 2.99 MB / 0.71 GB, free: 32.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5611, allocations: 1.344 kB / 0.71 GB, free: 32.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/0.5615, allocations: 67.94 kB / 0.71 GB, free: 32.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/0.5649, allocations: 0.9291 MB / 0.7109 GB, free: 32.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.565, allocations: 16.45 kB / 0.711 GB, free: 32.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008163/0.5731, allocations: 4.013 MB / 0.7149 GB, free: 29.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5731, allocations: 0 / 0.7149 GB, free: 29.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007244/0.5804, allocations: 2.505 MB / 0.7173 GB, free: 29.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.5807, allocations: 102.6 kB / 0.7174 GB, free: 29.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.5808, allocations: 11.73 kB / 0.7174 GB, free: 29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007587/0.5816, allocations: 55.52 kB / 0.7175 GB, free: 28.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/0.582, allocations: 123.6 kB / 0.7176 GB, free: 28.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.582, allocations: 19.08 kB / 0.7176 GB, free: 28.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007738/0.5828, allocations: 0.5213 MB / 0.7181 GB, free: 28.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5828, allocations: 0 / 0.7181 GB, free: 28.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001211/0.584, allocations: 299 kB / 0.7184 GB, free: 28.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007143/0.5912, allocations: 3.076 MB / 0.7214 GB, free: 27.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004053/0.5952, allocations: 1.501 MB / 0.7229 GB, free: 26.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5952, allocations: 0 / 0.7229 GB, free: 26.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002453/0.5977, allocations: 0.8924 MB / 0.7238 GB, free: 26.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.5983, allocations: 53.41 kB / 0.7238 GB, free: 26.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.618, allocations: 9.908 MB / 0.7335 GB, free: 21.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.6184, allocations: 0.9505 MB / 0.7344 GB, free: 20.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.6187, allocations: 66.38 kB / 0.7345 GB, free: 20.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.6191, allocations: 288.2 kB / 0.7347 GB, free: 20.09 MB / 494.1 MB Notification: Performance of SimCode: time 1.863e-06/0.6191, allocations: 0 / 0.7347 GB, free: 20.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/0.6716, allocations: 22.33 MB / 0.7566 GB, free: 212 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.7, allocations: 6.734 kB / 0.7566 GB, free: 208 kB / 494.1 MB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.906494728056714] Failed to read output from testmodel.py, exit status != 0: 14.819602456875145 14.836161271 14.663947449 Calling exit ...