Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001397/0.001397, 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.511/1.511, allocations: 230.6 MB / 253.4 MB, free: 8.266 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.001687/0.001687, allocations: 217.8 kB / 310 MB, free: 3.109 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.4721/0.4721, allocations: 79.73 MB / 446.2 MB, free: 14.79 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.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") [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.002585/0.002585, allocations: 83.86 kB / 0.5942 GB, free: 13.41 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1722, allocations: 73.3 MB / 0.6657 GB, free: 4.004 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.007506/0.1797, allocations: 5.838 MB / 0.6714 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.1841, allocations: 1.802 MB / 0.6732 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009713/0.1851, allocations: 12 kB / 0.6732 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.1857, allocations: 214.2 kB / 0.6734 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.1881, allocations: 0.7478 MB / 0.6741 GB, free: 11.36 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1896, allocations: 0.5642 MB / 0.6747 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.1916, allocations: 1.26 MB / 0.6759 GB, free: 9.535 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.192, allocations: 187.6 kB / 0.6761 GB, free: 9.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.193, allocations: 0.5446 MB / 0.6766 GB, free: 8.793 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.1939, allocations: 0.6455 MB / 0.6773 GB, free: 8.145 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.194, allocations: 88 kB / 0.6774 GB, free: 8.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005865/0.1946, allocations: 235.9 kB / 0.6776 GB, free: 7.828 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.1949, allocations: 250.8 kB / 0.6778 GB, free: 7.582 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.1954, allocations: 0.5437 MB / 0.6783 GB, free: 7.035 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.1973, allocations: 1.381 MB / 0.6797 GB, free: 5.648 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1973, allocations: 0 / 0.6797 GB, free: 5.648 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1973, allocations: 0 / 0.6797 GB, free: 5.648 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.1973, allocations: 0 / 0.6797 GB, free: 5.648 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008113/0.2055, allocations: 2.327 MB / 0.682 GB, free: 3.285 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.2055, allocations: 11.98 kB / 0.682 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.2104, allocations: 0.7641 MB / 0.6827 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.2119, allocations: 0.6414 MB / 0.6834 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/0.2123, allocations: 303.6 kB / 0.6836 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.2124, allocations: 71.95 kB / 0.6837 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.2146, allocations: 0.9637 MB / 0.6847 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2146, allocations: 3.938 kB / 0.6847 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.2147, allocations: 24 kB / 0.6847 GB, free: 432 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2147, allocations: 16 kB / 0.6847 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.217, allocations: 0.9761 MB / 0.6856 GB, free: 15.43 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 preOpt removeSimpleEquations (simulation): time 0.006066/0.223, allocations: 3.127 MB / 0.6887 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.225, allocations: 0.7798 MB / 0.6895 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.2265, allocations: 0.629 MB / 0.6901 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.2266, allocations: 13 kB / 0.6901 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.2267, allocations: 43.56 kB / 0.6901 GB, free: 10.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=83): time 3.446e-06/0.2267, allocations: 0 / 0.6901 GB, free: 10.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=83): time 0.02708/0.2538, allocations: 6.381 MB / 0.6964 GB, free: 4.277 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.2538, allocations: 68.33 kB / 0.6964 GB, free: 4.195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.2554, allocations: 0.7945 MB / 0.6972 GB, free: 3.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002397/0.2556, allocations: 41.7 kB / 0.6972 GB, free: 3.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005817/0.2562, allocations: 441 kB / 0.6977 GB, free: 2.906 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005568/0.2567, allocations: 309.3 kB / 0.698 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005531/0.2573, allocations: 194.8 kB / 0.6981 GB, free: 2.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.2575, allocations: 349.9 kB / 0.6985 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.2592, allocations: 0.6584 MB / 0.6991 GB, free: 1.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.261, allocations: 0.7796 MB / 0.6999 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3859/0.6469, allocations: 4.629 MB / 0.7044 GB, free: 33.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.6469, allocations: 1.562 kB / 0.7044 GB, free: 33.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01408/0.6609, allocations: 4.046 MB / 0.7084 GB, free: 33.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.661, allocations: 5.938 kB / 0.7084 GB, free: 33.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.661, allocations: 3.5 kB / 0.7084 GB, free: 33.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006418/0.6674, allocations: 1.732 MB / 0.7101 GB, free: 33.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6685, allocations: 184.8 kB / 0.7102 GB, free: 33.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/0.6901, allocations: 8.962 MB / 0.719 GB, free: 29.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.6915, allocations: 155 kB / 0.7191 GB, free: 29.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.6917, allocations: 36.55 kB / 0.7192 GB, free: 29.53 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004325/0.6921, allocations: 232.8 kB / 0.7194 GB, free: 29.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.6923, allocations: 109 kB / 0.7195 GB, free: 29.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.7043, allocations: 3.775 MB / 0.7232 GB, free: 28.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.7043, allocations: 8.812 kB / 0.7232 GB, free: 28.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7043, allocations: 0 / 0.7232 GB, free: 28.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.7043, allocations: 14.2 kB / 0.7232 GB, free: 28.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.7182, allocations: 5.311 MB / 0.7284 GB, free: 25.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7182, allocations: 0 / 0.7284 GB, free: 25.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.7188, allocations: 94.7 kB / 0.7285 GB, free: 25.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00554/0.7243, allocations: 1.737 MB / 0.7302 GB, free: 24.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.7244, allocations: 20.05 kB / 0.7302 GB, free: 24.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/0.7413, allocations: 7.963 MB / 0.738 GB, free: 19.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7413, allocations: 0 / 0.738 GB, free: 19.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.7542, allocations: 4.71 MB / 0.7426 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.7545, allocations: 118.6 kB / 0.7427 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.7547, allocations: 12 kB / 0.7427 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.7555, allocations: 91.89 kB / 0.7428 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/0.7561, allocations: 208.6 kB / 0.743 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.7562, allocations: 27.72 kB / 0.743 GB, free: 14.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005684/0.7567, allocations: 0.5302 MB / 0.7435 GB, free: 14.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7567, allocations: 4 kB / 0.7435 GB, free: 14.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001227/0.758, allocations: 423.5 kB / 0.7439 GB, free: 13.76 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002485/0.7582, allocations: 121.4 kB / 0.744 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005412/0.7636, allocations: 2.193 MB / 0.7462 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7636, allocations: 0 / 0.7462 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003791/0.7674, allocations: 1.445 MB / 0.7476 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.7681, allocations: 76.59 kB / 0.7477 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.7709, allocations: 1.866 MB / 0.7495 GB, free: 8.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.7713, allocations: 1.033 MB / 0.7505 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.7715, allocations: 63.42 kB / 0.7506 GB, free: 6.914 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7715, allocations: 0 / 0.7506 GB, free: 6.914 MB / 494.1 MB Notification: Performance of Templates: time 0.02354/0.795, allocations: 18.04 MB / 0.7682 GB, free: 4.867 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.723020442062989] Failed to read output from testmodel.py, exit status != 0: 0.8047959690447897 0.819442742 0.61898257 Calling exit ...