Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001622/0.001622, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.449/1.449, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001513/0.001513, allocations: 209.6 kB / 310 MB, free: 3.164 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6056/0.6056, allocations: 107.3 MB / 473.7 MB, free: 29.93 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.00247/0.00247, allocations: 90.94 kB / 0.6344 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1547, allocations: 80.18 MB / 0.7127 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005913/0.1606, allocations: 4.402 MB / 0.717 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.1638, allocations: 1.564 MB / 0.7186 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.1641, allocations: 8 kB / 0.7186 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.1645, allocations: 162.7 kB / 0.7187 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.166, allocations: 0.675 MB / 0.7194 GB, free: 228 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.1668, allocations: 406.6 kB / 0.7198 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.168, allocations: 1.082 MB / 0.7208 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.1683, allocations: 146.5 kB / 0.721 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.1688, allocations: 466.2 kB / 0.7214 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006682/0.1695, allocations: 0.5172 MB / 0.7219 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.1696, allocations: 96 kB / 0.722 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1701, allocations: 247.9 kB / 0.7222 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.1703, allocations: 223.1 kB / 0.7225 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.1706, allocations: 390 kB / 0.7228 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.172, allocations: 1.28 MB / 0.7241 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.172, allocations: 0 / 0.7241 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.172, allocations: 0 / 0.7241 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.172, allocations: 0 / 0.7241 GB, free: 11.39 MB / 0.4981 GB 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.00524/0.1773, allocations: 1.731 MB / 0.7258 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1773, allocations: 8.031 kB / 0.7258 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.1805, allocations: 0.5269 MB / 0.7263 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009629/0.1815, allocations: 0.5782 MB / 0.7269 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.1817, allocations: 201.5 kB / 0.727 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.1818, allocations: 48 kB / 0.7271 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1832, allocations: 0.6583 MB / 0.7277 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1832, allocations: 4 kB / 0.7277 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.1833, allocations: 20 kB / 0.7278 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.1833, allocations: 12 kB / 0.7278 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1845, allocations: 0.6285 MB / 0.7284 GB, free: 6.875 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.004274/0.1888, allocations: 2.034 MB / 0.7304 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.2008, allocations: 2.608 MB / 0.7329 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008883/0.2017, allocations: 398.2 kB / 0.7333 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.952e-05/0.2017, allocations: 4.5 kB / 0.7333 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2018, allocations: 43 kB / 0.7333 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 3.156e-06/0.2018, allocations: 3.938 kB / 0.7333 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01237/0.2141, allocations: 3.292 MB / 0.7366 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.2142, allocations: 63.89 kB / 0.7366 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.2153, allocations: 0.7505 MB / 0.7374 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/0.2154, allocations: 41.64 kB / 0.7374 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.2157, allocations: 361.1 kB / 0.7377 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.2159, allocations: 222.1 kB / 0.738 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.2162, allocations: 166.5 kB / 0.7381 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.2164, allocations: 398.7 kB / 0.7385 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009982/0.2174, allocations: 493.8 kB / 0.739 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.2185, allocations: 0.5914 MB / 0.7395 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/0.234, allocations: 3.642 MB / 0.7431 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.234, allocations: 4 kB / 0.7431 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.007231/0.2413, allocations: 2.361 MB / 0.7454 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.2413, allocations: 8 kB / 0.7454 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2413, allocations: 3.984 kB / 0.7454 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/0.2455, allocations: 1.043 MB / 0.7464 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.2462, allocations: 143.8 kB / 0.7466 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.257, allocations: 4.846 MB / 0.7513 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.2582, allocations: 107.5 kB / 0.7514 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.2582, allocations: 31.98 kB / 0.7514 GB, free: 14.95 MB / 0.5294 GB 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.0004527/0.2587, allocations: 211.9 kB / 0.7516 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2588, allocations: 83.47 kB / 0.7517 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005939/0.2648, allocations: 1.928 MB / 0.7536 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2648, allocations: 15.97 kB / 0.7536 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2648, allocations: 8 kB / 0.7536 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.2648, allocations: 0 / 0.7536 GB, free: 12.68 MB / 0.5294 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.006947/0.2717, allocations: 2.618 MB / 0.7562 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2717, allocations: 0 / 0.7562 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.2722, allocations: 63.91 kB / 0.7562 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003261/0.2754, allocations: 0.9334 MB / 0.7572 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.2755, allocations: 8 kB / 0.7572 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008307/0.2838, allocations: 3.906 MB / 0.761 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2838, allocations: 0 / 0.761 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/0.2909, allocations: 2.51 MB / 0.7634 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.2912, allocations: 99.39 kB / 0.7635 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.2914, allocations: 12 kB / 0.7635 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.2922, allocations: 51.94 kB / 0.7636 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/0.2926, allocations: 124.2 kB / 0.7637 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.2926, allocations: 16 kB / 0.7637 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007951/0.2934, allocations: 0.5147 MB / 0.7642 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2934, allocations: 0 / 0.7642 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001083/0.2945, allocations: 303.7 kB / 0.7645 GB, free: 1.348 MB / 0.5294 GB 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.0002913/0.2948, allocations: 123.3 kB / 0.7646 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004488/0.2993, allocations: 1.489 MB / 0.7661 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2993, allocations: 3.938 kB / 0.7661 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/0.3021, allocations: 0.8894 MB / 0.767 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.3027, allocations: 55 kB / 0.767 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.3058, allocations: 1.568 MB / 0.7685 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3062, allocations: 352.6 kB / 0.7689 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.3065, allocations: 47.42 kB / 0.7689 GB, free: 12.72 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.3065, allocations: 0 / 0.7689 GB, free: 12.72 MB / 0.545 GB Notification: Performance of Templates: time 0.0276/0.3341, allocations: 20.88 MB / 0.7893 GB, free: 7.816 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.069341667927802] Failed to read output from testmodel.py, exit status != 0: 0.3431261540390551 0.357662963 0.18266476 Calling exit ...