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/ModelicaServices 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 100.6 kB / 16.36 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7924/0.7924, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 55.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 80.2 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002394/0.3397, allocations: 1.606 MB / 0.5831 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005174/0.3402, allocations: 308.3 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.3403, allocations: 3.625 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.3403, allocations: 11.86 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.3404, allocations: 18.05 kB / 0.5834 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.3407, allocations: 76.83 kB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3408, allocations: 101.1 kB / 0.5836 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3409, allocations: 33.34 kB / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.341, allocations: 44 kB / 0.5836 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.3411, allocations: 41.91 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3411, allocations: 7 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-05/0.3412, allocations: 26.39 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.3412, allocations: 27.81 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.3413, allocations: 39.7 kB / 0.5838 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.3414, allocations: 104.9 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3414, allocations: 1.156 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3414, allocations: 0.5625 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3414, allocations: 2.562 kB / 0.5839 GB, free: 25.73 MB / 446.1 MB 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.0004384/0.3419, allocations: 397.9 kB / 0.5843 GB, free: 25.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3419, allocations: 20.42 kB / 0.5843 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009847/0.3429, allocations: 117.8 kB / 0.5844 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.595e-05/0.343, allocations: 181.3 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.343, allocations: 3.062 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3431, allocations: 10.62 kB / 0.5846 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.3436, allocations: 155.6 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3436, allocations: 0 / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3436, allocations: 1.344 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3436, allocations: 1.094 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.3443, allocations: 160 kB / 0.5849 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.3451, allocations: 442.8 kB / 0.5853 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.3458, allocations: 136.6 kB / 0.5854 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.3462, allocations: 76.47 kB / 0.5855 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3462, allocations: 1.344 kB / 0.5855 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.3462, allocations: 32.88 kB / 0.5855 GB, free: 24.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3462, allocations: 0 / 0.5855 GB, free: 24.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001129/0.3474, allocations: 252.3 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.3474, allocations: 54.34 kB / 0.5858 GB, free: 24.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3475, allocations: 154.7 kB / 0.586 GB, free: 24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3476, allocations: 31.16 kB / 0.586 GB, free: 23.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.3476, allocations: 96.02 kB / 0.5861 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.3476, allocations: 21.8 kB / 0.5861 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.3477, allocations: 25.77 kB / 0.5861 GB, free: 23.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.3477, allocations: 322 kB / 0.5865 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.3481, allocations: 77.72 kB / 0.5865 GB, free: 23.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.3485, allocations: 74.38 kB / 0.5866 GB, free: 23.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/0.3492, allocations: 134.5 kB / 0.5867 GB, free: 23.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3492, allocations: 0 / 0.5867 GB, free: 23.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007843/0.35, allocations: 196.2 kB / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.35, allocations: 5 kB / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.35, allocations: 3.938 kB / 0.5869 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3501, allocations: 5.406 kB / 0.5869 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.3503, allocations: 35.17 kB / 0.587 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3504, allocations: 5.297 kB / 0.587 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.3506, allocations: 31.22 kB / 0.587 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3506, allocations: 6.188 kB / 0.587 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001303/0.3507, allocations: 108.6 kB / 0.5871 GB, free: 23.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001049/0.3509, allocations: 53.22 kB / 0.5872 GB, free: 23.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001774/0.351, allocations: 85.78 kB / 0.5872 GB, free: 23.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.3511, allocations: 0 / 0.5872 GB, free: 23.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002403/0.3513, allocations: 112.5 kB / 0.5873 GB, free: 22.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.3513, allocations: 5.906 kB / 0.5874 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.3513, allocations: 1.312 kB / 0.5874 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.3513, allocations: 9.906 kB / 0.5874 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.3514, allocations: 18.3 kB / 0.5874 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.3514, allocations: 5.094 kB / 0.5874 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.3515, allocations: 19.08 kB / 0.5874 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3515, allocations: 2.719 kB / 0.5874 GB, free: 22.91 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.474e-05/0.3516, allocations: 178.6 kB / 0.5876 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.3517, allocations: 8.188 kB / 0.5876 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.3517, allocations: 20.02 kB / 0.5876 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3517, allocations: 2.25 kB / 0.5876 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3517, allocations: 0 / 0.5876 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3517, allocations: 0.7188 kB / 0.5876 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.3527, allocations: 481.3 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3528, allocations: 6.734 kB / 0.5881 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.353, allocations: 33.36 kB / 0.5881 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.353, allocations: 1.25 kB / 0.5881 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.353, allocations: 1.25 kB / 0.5881 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.3531, allocations: 9.172 kB / 0.5881 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3531, allocations: 1.469 kB / 0.5881 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.3539, allocations: 288.7 kB / 0.5884 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.3539, allocations: 100.5 kB / 0.5885 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.354, allocations: 3.062 kB / 0.5885 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.3542, allocations: 20.41 kB / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.3543, allocations: 10.03 kB / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3543, allocations: 6.516 kB / 0.5885 GB, free: 21.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.618e-05/0.3544, allocations: 122.6 kB / 0.5886 GB, free: 21.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3544, allocations: 5.188 kB / 0.5886 GB, free: 21.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.3547, allocations: 29.78 kB / 0.5887 GB, free: 21.81 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.925e-05/0.3549, allocations: 102.7 kB / 0.5888 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008473/0.3557, allocations: 186.8 kB / 0.5889 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3557, allocations: 0 / 0.5889 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.3561, allocations: 79.39 kB / 0.589 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3564, allocations: 18.42 kB / 0.589 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009324/0.3574, allocations: 273 kB / 0.5893 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.3575, allocations: 0.7007 MB / 0.59 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.93e-05/0.3576, allocations: 16.34 kB / 0.59 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.3577, allocations: 23.75 kB / 0.59 GB, free: 20.63 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3577, allocations: 0 / 0.59 GB, free: 20.63 MB / 446.1 MB Notification: Performance of Templates: time 0.00357/0.3612, allocations: 1.426 MB / 0.5914 GB, free: 19.68 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)