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.001667/0.001667, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.51/1.51, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001646/0.001646, allocations: 218.6 kB / 309.2 MB, free: 3.145 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.5049/0.5049, allocations: 79.73 MB / 445.4 MB, free: 14.87 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: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") [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.003053/0.003053, allocations: 88.23 kB / 0.5934 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1781, allocations: 73.3 MB / 0.665 GB, free: 4.098 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006442/0.1845, allocations: 4.945 MB / 0.6698 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.1882, allocations: 1.658 MB / 0.6714 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.1885, allocations: 8 kB / 0.6714 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004633/0.189, allocations: 162.6 kB / 0.6716 GB, free: 13.3 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.00166/0.1907, allocations: 0.6905 MB / 0.6723 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.1915, allocations: 429.9 kB / 0.6727 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1928, allocations: 1.082 MB / 0.6737 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.1931, allocations: 150.4 kB / 0.6739 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006131/0.1937, allocations: 474.2 kB / 0.6743 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.1945, allocations: 0.5602 MB / 0.6749 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.1946, allocations: 100 kB / 0.675 GB, free: 9.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.1951, allocations: 243.9 kB / 0.6752 GB, free: 9.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.1953, allocations: 231.1 kB / 0.6754 GB, free: 9.355 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.1957, allocations: 477.4 kB / 0.6759 GB, free: 8.887 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1972, allocations: 1.272 MB / 0.6771 GB, free: 7.609 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1972, allocations: 0 / 0.6771 GB, free: 7.609 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1972, allocations: 0 / 0.6771 GB, free: 7.609 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.1972, allocations: 0 / 0.6771 GB, free: 7.609 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.005527/0.2027, allocations: 1.731 MB / 0.6788 GB, free: 5.844 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2028, allocations: 11.98 kB / 0.6788 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.2061, allocations: 0.5192 MB / 0.6793 GB, free: 5.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2071, allocations: 0.5898 MB / 0.6799 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.2073, allocations: 193.5 kB / 0.6801 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.2075, allocations: 48 kB / 0.6801 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2088, allocations: 0.6583 MB / 0.6808 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2088, allocations: 0 / 0.6808 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.2089, allocations: 24 kB / 0.6808 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2089, allocations: 12 kB / 0.6808 GB, free: 3.727 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.2102, allocations: 0.6324 MB / 0.6814 GB, free: 3.094 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.004823/0.2151, allocations: 2.581 MB / 0.6839 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.2268, allocations: 2.611 MB / 0.6865 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009522/0.2277, allocations: 406.1 kB / 0.6869 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/0.2278, allocations: 12.44 kB / 0.6869 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2278, allocations: 39.05 kB / 0.6869 GB, free: 13.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=57): time 2.835e-06/0.2278, allocations: 0 / 0.6869 GB, free: 13.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=57): time 0.01272/0.2406, allocations: 3.292 MB / 0.6901 GB, free: 10.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.2406, allocations: 59.91 kB / 0.6902 GB, free: 9.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.2418, allocations: 0.7701 MB / 0.691 GB, free: 9.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.2419, allocations: 33.7 kB / 0.691 GB, free: 9.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.2423, allocations: 357.1 kB / 0.6913 GB, free: 8.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.2425, allocations: 218.2 kB / 0.6915 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.2429, allocations: 178.5 kB / 0.6917 GB, free: 8.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.2431, allocations: 398.7 kB / 0.6921 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.2441, allocations: 0.49 MB / 0.6926 GB, free: 7.484 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.2453, allocations: 0.5914 MB / 0.6931 GB, free: 6.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01648/0.2617, allocations: 3.67 MB / 0.6967 GB, free: 3.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.2617, allocations: 3.938 kB / 0.6967 GB, free: 3.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007502/0.2692, allocations: 2.392 MB / 0.6991 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.2693, allocations: 8 kB / 0.6991 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2693, allocations: 0 / 0.6991 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3593/0.6286, allocations: 1.046 MB / 0.7001 GB, free: 34.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009129/0.6295, allocations: 153 kB / 0.7002 GB, free: 34.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.6401, allocations: 4.965 MB / 0.7051 GB, free: 33.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.6414, allocations: 109.9 kB / 0.7052 GB, free: 33.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.6415, allocations: 34 kB / 0.7052 GB, free: 33.34 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.0004335/0.6419, allocations: 218.9 kB / 0.7054 GB, free: 33.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.6421, allocations: 86.16 kB / 0.7055 GB, free: 33.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006404/0.6485, allocations: 1.934 MB / 0.7074 GB, free: 33.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6485, allocations: 5.25 kB / 0.7074 GB, free: 33.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.6485, allocations: 4.25 kB / 0.7074 GB, free: 33.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.6485, allocations: 3.328 kB / 0.7074 GB, free: 33.12 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.007736/0.6562, allocations: 2.997 MB / 0.7103 GB, free: 32.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6562, allocations: 0 / 0.7103 GB, free: 32.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.6567, allocations: 64.36 kB / 0.7104 GB, free: 32.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/0.6602, allocations: 0.9381 MB / 0.7113 GB, free: 32.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.6602, allocations: 11.86 kB / 0.7113 GB, free: 32.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008505/0.6687, allocations: 4.01 MB / 0.7153 GB, free: 29.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6687, allocations: 0 / 0.7153 GB, free: 29.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007654/0.6764, allocations: 2.501 MB / 0.7177 GB, free: 28.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.6767, allocations: 107 kB / 0.7178 GB, free: 28.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.6769, allocations: 19.36 kB / 0.7178 GB, free: 28.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.6776, allocations: 51.8 kB / 0.7179 GB, free: 28.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/0.678, allocations: 124.2 kB / 0.718 GB, free: 28.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.6781, allocations: 17.16 kB / 0.718 GB, free: 28.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007488/0.6788, allocations: 0.5199 MB / 0.7185 GB, free: 28.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6788, allocations: 5.312 kB / 0.7185 GB, free: 28.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00112/0.68, allocations: 301.8 kB / 0.7188 GB, free: 28.46 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.000244/0.6802, allocations: 121 kB / 0.7189 GB, free: 28.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004289/0.6845, allocations: 1.487 MB / 0.7204 GB, free: 27.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6845, allocations: 0 / 0.7204 GB, free: 27.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00256/0.687, allocations: 0.8935 MB / 0.7212 GB, free: 27.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.6876, allocations: 61.59 kB / 0.7213 GB, free: 27.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.6902, allocations: 1.55 MB / 0.7228 GB, free: 26.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.6906, allocations: 0.9443 MB / 0.7237 GB, free: 25.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.6909, allocations: 65.55 kB / 0.7238 GB, free: 25.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.6911, allocations: 49.97 kB / 0.7238 GB, free: 25.77 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6911, allocations: 0 / 0.7238 GB, free: 25.77 MB / 494.1 MB Notification: Performance of Templates: time 0.02262/0.7137, allocations: 15.1 MB / 0.7386 GB, free: 18.6 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile [Timeout 660] (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 & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.072761542862281] Failed to read output from testmodel.py, exit status != 0: 0.7232165148016065 0.737870031 0.5373266729999999 Calling exit ...