Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 110.9 kB / 16.41 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.1 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 187.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.512/0.512, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 80.06 kB / 0.5734 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 71.28 MB / 0.643 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005807/0.1265, allocations: 5.758 MB / 0.6486 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.1297, allocations: 1.739 MB / 0.6503 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005415/0.1303, allocations: 15.94 kB / 0.6503 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.1308, allocations: 198.3 kB / 0.6505 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.1325, allocations: 0.6871 MB / 0.6512 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1337, allocations: 0.5691 MB / 0.6518 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.135, allocations: 1.249 MB / 0.653 GB, free: 9.359 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.1355, allocations: 275.1 kB / 0.6532 GB, free: 9.078 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.1362, allocations: 0.5212 MB / 0.6537 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006978/0.1369, allocations: 0.6455 MB / 0.6544 GB, free: 7.906 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.137, allocations: 88 kB / 0.6545 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.1375, allocations: 223.9 kB / 0.6547 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1377, allocations: 238.9 kB / 0.6549 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.1382, allocations: 0.5553 MB / 0.6554 GB, free: 6.809 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.1396, allocations: 1.347 MB / 0.6568 GB, free: 5.457 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1396, allocations: 4 kB / 0.6568 GB, free: 5.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1396, allocations: 4 kB / 0.6568 GB, free: 5.449 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.1396, allocations: 0 / 0.6568 GB, free: 5.449 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007581/0.1472, allocations: 2.349 MB / 0.6591 GB, free: 3.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1472, allocations: 8.031 kB / 0.6591 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/0.1523, allocations: 0.7556 MB / 0.6598 GB, free: 2.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.1537, allocations: 0.7127 MB / 0.6605 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.154, allocations: 256.1 kB / 0.6607 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.1542, allocations: 67.98 kB / 0.6608 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.1562, allocations: 0.9598 MB / 0.6618 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1562, allocations: 3.938 kB / 0.6618 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.1563, allocations: 28 kB / 0.6618 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1564, allocations: 20 kB / 0.6618 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.1584, allocations: 0.9721 MB / 0.6627 GB, free: 15.18 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.005623/0.1641, allocations: 3.147 MB / 0.6658 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.1661, allocations: 1.306 MB / 0.6671 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.1675, allocations: 0.6999 MB / 0.6678 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.604e-05/0.1676, allocations: 16.64 kB / 0.6678 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.1677, allocations: 47.16 kB / 0.6678 GB, free: 9.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.996e-06/0.1677, allocations: 0 / 0.6678 GB, free: 9.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02566/0.1933, allocations: 6.763 MB / 0.6744 GB, free: 2.883 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1934, allocations: 64 kB / 0.6745 GB, free: 2.809 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.1946, allocations: 0.7986 MB / 0.6753 GB, free: 1.984 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.1948, allocations: 41.7 kB / 0.6753 GB, free: 1.938 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.1951, allocations: 432.3 kB / 0.6757 GB, free: 1.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.1955, allocations: 303.7 kB / 0.676 GB, free: 1.207 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.1959, allocations: 178.9 kB / 0.6762 GB, free: 1.023 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1961, allocations: 345.9 kB / 0.6765 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.1975, allocations: 0.6506 MB / 0.6772 GB, free: 32 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.1989, allocations: 0.7718 MB / 0.6779 GB, free: 15.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/0.2162, allocations: 4.5 MB / 0.6823 GB, free: 10.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-06/0.2162, allocations: 0 / 0.6823 GB, free: 10.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01316/0.2294, allocations: 4.117 MB / 0.6863 GB, free: 6.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.2294, allocations: 5.25 kB / 0.6863 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2295, allocations: 4 kB / 0.6863 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006234/0.2357, allocations: 1.787 MB / 0.6881 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.2366, allocations: 167.8 kB / 0.6882 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02113/0.2578, allocations: 9.325 MB / 0.6974 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.2592, allocations: 155 kB / 0.6975 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.2593, allocations: 39.98 kB / 0.6975 GB, free: 10.92 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004782/0.2598, allocations: 222.1 kB / 0.6978 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.26, allocations: 98.78 kB / 0.6978 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.272, allocations: 3.829 MB / 0.7016 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.2721, allocations: 12 kB / 0.7016 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2721, allocations: 4 kB / 0.7016 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.2721, allocations: 7.984 kB / 0.7016 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.2862, allocations: 5.356 MB / 0.7068 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.2862, allocations: 0 / 0.7068 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.2868, allocations: 87.89 kB / 0.7069 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005621/0.2924, allocations: 1.737 MB / 0.7086 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.2926, allocations: 19.98 kB / 0.7086 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.3104, allocations: 8.056 MB / 0.7165 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3104, allocations: 7.938 kB / 0.7165 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/0.3242, allocations: 4.708 MB / 0.7211 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.3246, allocations: 187.7 kB / 0.7213 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.3248, allocations: 16 kB / 0.7213 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008965/0.3257, allocations: 91.89 kB / 0.7214 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006444/0.3264, allocations: 196.7 kB / 0.7216 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/0.3265, allocations: 20 kB / 0.7216 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006682/0.3271, allocations: 0.5382 MB / 0.7221 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3271, allocations: 4 kB / 0.7221 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001257/0.3284, allocations: 407.5 kB / 0.7225 GB, free: 0.9688 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0002781/0.3287, allocations: 127.1 kB / 0.7226 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006303/0.335, allocations: 2.337 MB / 0.7249 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.335, allocations: 0 / 0.7249 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004521/0.3396, allocations: 1.504 MB / 0.7264 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.3404, allocations: 83.28 kB / 0.7265 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.3436, allocations: 1.755 MB / 0.7282 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.3442, allocations: 1.033 MB / 0.7292 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.3445, allocations: 63.42 kB / 0.7293 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/0.3445, allocations: 0 / 0.7293 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of Templates: time 0.02378/0.3683, allocations: 17.84 MB / 0.7467 GB, free: 8.105 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)