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.001386/0.001386, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.442/1.442, allocations: 230.6 MB / 253.4 MB, free: 8.285 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.001764/0.001764, allocations: 221.5 kB / 310 MB, free: 3.113 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.4547/0.4547, allocations: 79.74 MB / 446.2 MB, free: 14.82 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.002541/0.002541, allocations: 95.73 kB / 0.5942 GB, free: 13.41 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1593, allocations: 73.29 MB / 0.6657 GB, free: 4.02 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006102/0.1654, allocations: 4.939 MB / 0.6706 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.1687, allocations: 1.669 MB / 0.6722 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.1691, allocations: 4 kB / 0.6722 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.1695, allocations: 162.6 kB / 0.6723 GB, free: 13.22 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.00156/0.1711, allocations: 0.6934 MB / 0.673 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.1719, allocations: 422.9 kB / 0.6734 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.173, allocations: 1.079 MB / 0.6745 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.1733, allocations: 154.4 kB / 0.6746 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005545/0.1739, allocations: 470.2 kB / 0.6751 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.1746, allocations: 0.5602 MB / 0.6756 GB, free: 9.844 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.1747, allocations: 100 kB / 0.6757 GB, free: 9.746 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.1751, allocations: 243.9 kB / 0.6759 GB, free: 9.508 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.1753, allocations: 235 kB / 0.6762 GB, free: 9.277 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.1758, allocations: 477.4 kB / 0.6766 GB, free: 8.809 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.1771, allocations: 1.269 MB / 0.6779 GB, free: 7.535 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1771, allocations: 0 / 0.6779 GB, free: 7.535 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1771, allocations: 0 / 0.6779 GB, free: 7.535 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1771, allocations: 0 / 0.6779 GB, free: 7.535 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.005531/0.1826, allocations: 1.735 MB / 0.6796 GB, free: 5.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1827, allocations: 11.98 kB / 0.6796 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.1859, allocations: 0.5192 MB / 0.6801 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.1869, allocations: 0.5898 MB / 0.6807 GB, free: 4.613 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.1871, allocations: 193.4 kB / 0.6808 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.1872, allocations: 52 kB / 0.6809 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.1885, allocations: 0.6545 MB / 0.6815 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1886, allocations: 3.984 kB / 0.6815 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.1886, allocations: 20 kB / 0.6815 GB, free: 3.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1886, allocations: 16 kB / 0.6816 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1899, allocations: 0.6285 MB / 0.6822 GB, free: 3.016 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.004596/0.1945, allocations: 2.589 MB / 0.6847 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.2064, allocations: 2.608 MB / 0.6873 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009547/0.2073, allocations: 410.1 kB / 0.6876 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.2074, allocations: 12.39 kB / 0.6877 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.2075, allocations: 39.06 kB / 0.6877 GB, free: 13.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=57): time 3.437e-06/0.2075, allocations: 0 / 0.6877 GB, free: 13.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=57): time 0.0126/0.2201, allocations: 3.292 MB / 0.6909 GB, free: 9.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.2201, allocations: 55.91 kB / 0.691 GB, free: 9.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.2213, allocations: 0.7662 MB / 0.6917 GB, free: 9.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-05/0.2214, allocations: 37.7 kB / 0.6917 GB, free: 9.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.2217, allocations: 361.1 kB / 0.6921 GB, free: 8.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.222, allocations: 218.2 kB / 0.6923 GB, free: 8.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.2223, allocations: 178.5 kB / 0.6925 GB, free: 8.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.2225, allocations: 394.7 kB / 0.6928 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.2235, allocations: 0.4939 MB / 0.6933 GB, free: 7.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.2246, allocations: 0.5953 MB / 0.6939 GB, free: 6.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/0.2408, allocations: 3.658 MB / 0.6975 GB, free: 3.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.2408, allocations: 4 kB / 0.6975 GB, free: 3.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007541/0.2483, allocations: 2.384 MB / 0.6998 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.2484, allocations: 6.5 kB / 0.6998 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2484, allocations: 4 kB / 0.6998 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3191/0.5675, allocations: 1.054 MB / 0.7009 GB, free: 34.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/0.5684, allocations: 150 kB / 0.701 GB, free: 34.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.5786, allocations: 4.969 MB / 0.7058 GB, free: 33.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.5798, allocations: 110.4 kB / 0.706 GB, free: 33.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/0.5799, allocations: 31.09 kB / 0.706 GB, free: 33.24 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.0004334/0.5803, allocations: 221.6 kB / 0.7062 GB, free: 33.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.5805, allocations: 86.08 kB / 0.7063 GB, free: 33.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00634/0.5868, allocations: 1.934 MB / 0.7082 GB, free: 33.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.5868, allocations: 5.953 kB / 0.7082 GB, free: 33.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.5869, allocations: 8.094 kB / 0.7082 GB, free: 33.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.5869, allocations: 3.234 kB / 0.7082 GB, free: 33.02 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.007895/0.5948, allocations: 2.993 MB / 0.7111 GB, free: 32.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5948, allocations: 0 / 0.7111 GB, free: 32.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.5952, allocations: 65.84 kB / 0.7112 GB, free: 32.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003494/0.5987, allocations: 0.9402 MB / 0.7121 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/0.5988, allocations: 12.45 kB / 0.7121 GB, free: 31.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008451/0.6072, allocations: 4.005 MB / 0.716 GB, free: 29.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6072, allocations: 4.516 kB / 0.716 GB, free: 29.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007566/0.6148, allocations: 2.5 MB / 0.7185 GB, free: 28.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.6151, allocations: 107 kB / 0.7186 GB, free: 28.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.6152, allocations: 22.48 kB / 0.7186 GB, free: 28.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/0.616, allocations: 51.42 kB / 0.7186 GB, free: 28.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/0.6164, allocations: 120.3 kB / 0.7187 GB, free: 28.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.6164, allocations: 15.05 kB / 0.7188 GB, free: 28.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000716/0.6171, allocations: 0.52 MB / 0.7193 GB, free: 28.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6171, allocations: 0 / 0.7193 GB, free: 28.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009808/0.6181, allocations: 303.5 kB / 0.7196 GB, free: 28.34 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.0002179/0.6183, allocations: 126 kB / 0.7197 GB, free: 28.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004137/0.6225, allocations: 1.489 MB / 0.7211 GB, free: 27.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6225, allocations: 4.438 kB / 0.7211 GB, free: 27.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002579/0.6251, allocations: 0.8875 MB / 0.722 GB, free: 27.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.6256, allocations: 61.41 kB / 0.7221 GB, free: 27.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.6282, allocations: 1.578 MB / 0.7236 GB, free: 26.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.6285, allocations: 0.9468 MB / 0.7245 GB, free: 25.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.6288, allocations: 54.67 kB / 0.7246 GB, free: 25.62 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6288, allocations: 1.062 kB / 0.7246 GB, free: 25.62 MB / 494.1 MB Notification: Performance of Templates: time 0.02154/0.6503, allocations: 20.6 MB / 0.7447 GB, free: 12.96 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: 9.774539028061554] Failed to read output from testmodel.py, exit status != 0: 0.6588013558648527 0.668459531 0.48861887400000004 Calling exit ...