Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 175.8 kB / 7.647 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7292/0.7292, allocations: 130.7 MB / 138.7 MB, free: 3.594 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 391.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009428/0.0009427, allocations: 99.05 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.569e-05, allocations: 0 / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5132/0.5132, allocations: 81.56 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.6541, allocations: 111.3 MB / 0.7368 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.6544, allocations: 75.95 kB / 0.7369 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008936/0.6633, allocations: 3.21 MB / 0.74 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6634, allocations: 0 / 0.74 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6634, allocations: 1.781 kB / 0.7401 GB, free: 12.17 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004393/0.6638, allocations: 390.2 kB / 0.7404 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6639, allocations: 12.03 kB / 0.7404 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008254/0.6647, allocations: 99.69 kB / 0.7405 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.6649, allocations: 175 kB / 0.7407 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.6649, allocations: 4 kB / 0.7407 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.6649, allocations: 4 kB / 0.7407 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000169/0.6651, allocations: 59.98 kB / 0.7408 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.6653, allocations: 93.62 kB / 0.7409 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6653, allocations: 3.938 kB / 0.7409 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.6653, allocations: 0 / 0.7409 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6654, allocations: 4 kB / 0.7409 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.6664, allocations: 429.6 kB / 0.7413 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.6665, allocations: 62.56 kB / 0.7413 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.6666, allocations: 36.97 kB / 0.7414 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.6667, allocations: 3.984 kB / 0.7414 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.6667, allocations: 30.56 kB / 0.7414 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.6667, allocations: 0 / 0.7414 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.000258/0.667, allocations: 85.66 kB / 0.7415 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.667, allocations: 56.34 kB / 0.7415 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.6671, allocations: 119.2 kB / 0.7416 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.6672, allocations: 25.7 kB / 0.7417 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.6673, allocations: 111.9 kB / 0.7418 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.6673, allocations: 19.75 kB / 0.7418 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.6673, allocations: 0 / 0.7418 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6675, allocations: 314.8 kB / 0.7421 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-05/0.6675, allocations: 24 kB / 0.7421 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-05/0.6676, allocations: 35.98 kB / 0.7422 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/0.6676, allocations: 20.77 kB / 0.7422 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6676, allocations: 7.938 kB / 0.7422 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000156/0.6678, allocations: 89.69 kB / 0.7423 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.048e-05/0.6679, allocations: 105.7 kB / 0.7424 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6679, allocations: 8 kB / 0.7424 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6679, allocations: 0 / 0.7424 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.6682, allocations: 43.95 kB / 0.7424 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6682, allocations: 0 / 0.7424 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.6685, allocations: 27.97 kB / 0.7424 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.6685, allocations: 11.92 kB / 0.7425 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.6685, allocations: 4 kB / 0.7425 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.983e-05/0.6686, allocations: 24 kB / 0.7425 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-06/0.6686, allocations: 0 / 0.7425 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.6686, allocations: 4 kB / 0.7425 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.6687, allocations: 19.94 kB / 0.7425 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-06/0.6687, allocations: 0 / 0.7425 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.6688, allocations: 15.98 kB / 0.7425 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.6688, allocations: 0 / 0.7425 GB, free: 9.441 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.6689, allocations: 110.6 kB / 0.7426 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.669, allocations: 7.906 kB / 0.7426 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.669, allocations: 8.391 kB / 0.7426 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.669, allocations: 3.984 kB / 0.7426 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.669, allocations: 7.891 kB / 0.7427 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6691, allocations: 8 kB / 0.7427 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.6695, allocations: 360.7 kB / 0.743 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6696, allocations: 3.938 kB / 0.743 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.6698, allocations: 44.02 kB / 0.743 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6698, allocations: 0 / 0.743 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.6699, allocations: 7.938 kB / 0.7431 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.6699, allocations: 4 kB / 0.7431 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6699, allocations: 0 / 0.7431 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.6701, allocations: 224.5 kB / 0.7433 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.6702, allocations: 93 kB / 0.7434 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.6703, allocations: 3.984 kB / 0.7434 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.6705, allocations: 27.97 kB / 0.7434 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.6706, allocations: 12 kB / 0.7434 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.6706, allocations: 11.98 kB / 0.7434 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.6707, allocations: 95.28 kB / 0.7435 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6707, allocations: 3.938 kB / 0.7435 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003039/0.671, allocations: 35.84 kB / 0.7435 GB, free: 8.285 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.6712, allocations: 99.23 kB / 0.7436 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.6714, allocations: 79.91 kB / 0.7437 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6714, allocations: 4 kB / 0.7437 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.768e-05/0.6715, allocations: 35.92 kB / 0.7438 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.6717, allocations: 9.047 kB / 0.7438 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.6724, allocations: 165.9 kB / 0.7439 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.6728, allocations: 0.6963 MB / 0.7446 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.6729, allocations: 19.98 kB / 0.7446 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.673, allocations: 23.41 kB / 0.7446 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of SimCode: time 3.61e-07/0.673, allocations: 0 / 0.7446 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of Templates: time 0.003369/0.6764, allocations: 1.192 MB / 0.7458 GB, free: 5.906 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)