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.001354/0.001354, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.406/1.406, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.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.00179/0.00179, allocations: 151.6 kB / 256 MB, free: 4.336 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6427/0.6427, allocations: 80.25 MB / 392.6 MB, free: 29.73 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5553 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.998e-05, allocations: 2.828 kB / 0.5553 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005426/0.005456, allocations: 4.393 MB / 0.5596 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.009, allocations: 1.58 MB / 0.5611 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.009427, allocations: 5.344 kB / 0.5611 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.009875, allocations: 158.6 kB / 0.5613 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.0115, allocations: 0.6814 MB / 0.5619 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.01242, allocations: 420.4 kB / 0.5623 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.01361, allocations: 1.113 MB / 0.5634 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.01389, allocations: 140.3 kB / 0.5635 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.01468, allocations: 0.6353 MB / 0.5642 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.0152, allocations: 451.4 kB / 0.5646 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.01535, allocations: 98.84 kB / 0.5647 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.01586, allocations: 247.9 kB / 0.5649 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.01602, allocations: 234.5 kB / 0.5651 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.01632, allocations: 330.4 kB / 0.5655 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.01754, allocations: 1.309 MB / 0.5667 GB, free: 6.578 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.01754, allocations: 5.516 kB / 0.5667 GB, free: 6.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01754, allocations: 0 / 0.5667 GB, free: 6.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.01756, allocations: 0 / 0.5667 GB, free: 6.574 MB / 430.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.005316/0.02287, allocations: 1.716 MB / 0.5684 GB, free: 5.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.02292, allocations: 8.312 kB / 0.5684 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.02632, allocations: 0.5229 MB / 0.5689 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/0.02727, allocations: 0.5789 MB / 0.5695 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.02745, allocations: 203.2 kB / 0.5697 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.02758, allocations: 53.97 kB / 0.5698 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.02897, allocations: 0.6586 MB / 0.5704 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.02899, allocations: 3.938 kB / 0.5704 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/0.02906, allocations: 19.62 kB / 0.5704 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.02907, allocations: 16 kB / 0.5704 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.03034, allocations: 0.6223 MB / 0.571 GB, free: 3.852 MB / 430.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.004123/0.03447, allocations: 2.035 MB / 0.573 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.04712, allocations: 2.605 MB / 0.5756 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000997/0.04811, allocations: 409.5 kB / 0.576 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.5e-05/0.04819, allocations: 8.5 kB / 0.576 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.04821, allocations: 43 kB / 0.576 GB, free: 0.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.136e-06/0.04822, allocations: 0 / 0.576 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.0131/0.06131, allocations: 3.288 MB / 0.5792 GB, free: 13.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.06137, allocations: 59.91 kB / 0.5793 GB, free: 13.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.06265, allocations: 0.7544 MB / 0.58 GB, free: 12.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.06277, allocations: 37.7 kB / 0.5801 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.06309, allocations: 357 kB / 0.5804 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.06336, allocations: 222.2 kB / 0.5806 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/0.06369, allocations: 162.6 kB / 0.5808 GB, free: 12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.06392, allocations: 394.7 kB / 0.5811 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.06501, allocations: 489.8 kB / 0.5816 GB, free: 11.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.06618, allocations: 0.5914 MB / 0.5822 GB, free: 10.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0167/0.08288, allocations: 3.646 MB / 0.5857 GB, free: 6.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.08288, allocations: 0 / 0.5857 GB, free: 6.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.007754/0.09064, allocations: 2.369 MB / 0.5881 GB, free: 4.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.09067, allocations: 11.94 kB / 0.5881 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.09068, allocations: 0 / 0.5881 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/0.09507, allocations: 1.043 MB / 0.5891 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/0.096, allocations: 147.8 kB / 0.5892 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.1078, allocations: 4.837 MB / 0.5939 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.1092, allocations: 107.5 kB / 0.5941 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.1094, allocations: 35.92 kB / 0.5941 GB, free: 14.15 MB / 462.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 (89): * Single equations (assignments): 86 * 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.0006835/0.1101, allocations: 209.6 kB / 0.5943 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.1104, allocations: 79.48 kB / 0.5944 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006524/0.1169, allocations: 1.936 MB / 0.5963 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.1169, allocations: 4 kB / 0.5963 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.117, allocations: 4 kB / 0.5963 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.117, allocations: 7.984 kB / 0.5963 GB, free: 11.89 MB / 462.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.008148/0.1251, allocations: 2.61 MB / 0.5988 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1251, allocations: 4 kB / 0.5988 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.1256, allocations: 67.91 kB / 0.5989 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/0.1293, allocations: 0.9374 MB / 0.5998 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/0.1294, allocations: 15.98 kB / 0.5998 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009271/0.1387, allocations: 3.892 MB / 0.6036 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1387, allocations: 0 / 0.6036 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008257/0.1469, allocations: 2.506 MB / 0.6061 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.1473, allocations: 103.3 kB / 0.6062 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.1476, allocations: 15.98 kB / 0.6062 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.1486, allocations: 55.88 kB / 0.6062 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/0.149, allocations: 116.3 kB / 0.6063 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/0.1491, allocations: 19.98 kB / 0.6064 GB, free: 1.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009108/0.15, allocations: 0.5069 MB / 0.6069 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.15, allocations: 4 kB / 0.6069 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00127/0.1513, allocations: 299.8 kB / 0.6071 GB, free: 0.5625 MB / 462.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.0003475/0.1516, allocations: 127 kB / 0.6073 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004878/0.1565, allocations: 1.492 MB / 0.6087 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1565, allocations: 448 / 0.6087 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003014/0.1595, allocations: 0.897 MB / 0.6096 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.1604, allocations: 59 kB / 0.6097 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.1635, allocations: 1.396 MB / 0.611 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.164, allocations: 356.6 kB / 0.6114 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.1643, allocations: 65.14 kB / 0.6114 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.1645, allocations: 52.48 kB / 0.6115 GB, free: 12.04 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1645, allocations: 0 / 0.6115 GB, free: 12.04 MB / 478.1 MB Notification: Performance of Templates: time 0.02918/0.1937, allocations: 15.52 MB / 0.6266 GB, free: 12.59 MB / 494.1 MB " [Timeout remaining time 660] 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: 6.54487943649292] Failed to read output from testmodel.py, exit status != 0: 0.20362167060375214 0.22016848800000002 0.19923135700000003 Calling exit ...