Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001096/0.001096, allocations: 104 kB / 16.35 MB, free: 5.824 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.00117/0.00117, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7664/0.7664, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.88 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3743, allocations: 80.9 MB / 0.5858 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002374/0.3768, allocations: 1.604 MB / 0.5873 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005138/0.3773, allocations: 306.6 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.3773, allocations: 5.875 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.3774, allocations: 7.875 kB / 0.5876 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.3775, allocations: 23.69 kB / 0.5877 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3777, allocations: 70.36 kB / 0.5877 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3779, allocations: 103.7 kB / 0.5878 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.378, allocations: 38.19 kB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.3781, allocations: 34.11 kB / 0.5879 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.3781, allocations: 47.64 kB / 0.5879 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3782, allocations: 8.094 kB / 0.5879 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.097e-05/0.3782, allocations: 30.78 kB / 0.588 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.3783, allocations: 18.39 kB / 0.588 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3783, allocations: 40.52 kB / 0.588 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3784, allocations: 105.1 kB / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3785, allocations: 0.625 kB / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3785, allocations: 0 / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3785, allocations: 1.031 kB / 0.5881 GB, free: 23.61 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.0004307/0.3789, allocations: 411.9 kB / 0.5885 GB, free: 23.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3789, allocations: 11.17 kB / 0.5885 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009514/0.3799, allocations: 120.5 kB / 0.5886 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.38, allocations: 181.2 kB / 0.5888 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.38, allocations: 7.656 kB / 0.5888 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.38, allocations: 5.406 kB / 0.5888 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.3805, allocations: 156.1 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3806, allocations: 0.5625 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3806, allocations: 5.281 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3806, allocations: 3.688 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/0.3813, allocations: 151.8 kB / 0.5891 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.3821, allocations: 446.3 kB / 0.5896 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.3827, allocations: 137.8 kB / 0.5897 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.383, allocations: 75.19 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3831, allocations: 0.9062 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.3831, allocations: 37.28 kB / 0.5898 GB, free: 22.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3831, allocations: 1.219 kB / 0.5898 GB, free: 22.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001053/0.3842, allocations: 242.5 kB / 0.59 GB, free: 22.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.3842, allocations: 57.47 kB / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.3843, allocations: 156.7 kB / 0.5902 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3843, allocations: 25.7 kB / 0.5903 GB, free: 21.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.3843, allocations: 100 kB / 0.5904 GB, free: 21.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.3844, allocations: 24.55 kB / 0.5904 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3844, allocations: 33.62 kB / 0.5904 GB, free: 21.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.66e-05/0.3845, allocations: 317.1 kB / 0.5907 GB, free: 21.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.3848, allocations: 75.94 kB / 0.5908 GB, free: 21.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.3851, allocations: 72.23 kB / 0.5909 GB, free: 21.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.3857, allocations: 134.2 kB / 0.591 GB, free: 21.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3857, allocations: 0 / 0.591 GB, free: 21.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000651/0.3864, allocations: 187.2 kB / 0.5912 GB, free: 20.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3864, allocations: 7.938 kB / 0.5912 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3864, allocations: 3.938 kB / 0.5912 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3864, allocations: 5 kB / 0.5912 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3866, allocations: 37.3 kB / 0.5912 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3867, allocations: 0.7969 kB / 0.5912 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.3869, allocations: 33.56 kB / 0.5912 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3869, allocations: 9.141 kB / 0.5913 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001/0.387, allocations: 112.1 kB / 0.5914 GB, free: 20.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.009e-05/0.3871, allocations: 58.08 kB / 0.5914 GB, free: 20.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001458/0.3872, allocations: 83.84 kB / 0.5915 GB, free: 20.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.075e-06/0.3872, allocations: 4 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000191/0.3874, allocations: 103.4 kB / 0.5916 GB, free: 20.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.3874, allocations: 10.62 kB / 0.5916 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-06/0.3874, allocations: 0 / 0.5916 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/0.3875, allocations: 7.938 kB / 0.5916 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.3875, allocations: 19.98 kB / 0.5916 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-06/0.3875, allocations: 0 / 0.5916 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.3876, allocations: 11.98 kB / 0.5916 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3876, allocations: 2.156 kB / 0.5917 GB, free: 20.3 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 4.896e-05/0.3877, allocations: 185.1 kB / 0.5918 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.3877, allocations: 11.81 kB / 0.5918 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.3877, allocations: 17.03 kB / 0.5919 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3878, allocations: 2.562 kB / 0.5919 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3878, allocations: 0 / 0.5919 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3878, allocations: 3.984 kB / 0.5919 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.3886, allocations: 482.7 kB / 0.5923 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3886, allocations: 0 / 0.5923 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3889, allocations: 35.08 kB / 0.5924 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3889, allocations: 3.984 kB / 0.5924 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3889, allocations: 4 kB / 0.5924 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3889, allocations: 4 kB / 0.5924 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3889, allocations: 48 / 0.5924 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.3896, allocations: 300.6 kB / 0.5927 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.3896, allocations: 96.98 kB / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3897, allocations: 3.938 kB / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.3899, allocations: 27.91 kB / 0.5928 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3899, allocations: 8 kB / 0.5928 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3899, allocations: 3.984 kB / 0.5928 GB, free: 19.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.837e-05/0.39, allocations: 122.5 kB / 0.5929 GB, free: 18.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.39, allocations: 0 / 0.5929 GB, free: 18.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.3903, allocations: 32 kB / 0.5929 GB, free: 18.9 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.955e-05/0.3904, allocations: 103.2 kB / 0.593 GB, free: 18.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007941/0.3912, allocations: 183.9 kB / 0.5932 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3912, allocations: 8.125 kB / 0.5932 GB, free: 18.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.3916, allocations: 63.92 kB / 0.5933 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3919, allocations: 19.97 kB / 0.5933 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.3928, allocations: 281.2 kB / 0.5936 GB, free: 18.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.393, allocations: 0.6976 MB / 0.5942 GB, free: 17.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.515e-05/0.393, allocations: 15.98 kB / 0.5943 GB, free: 17.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.3931, allocations: 23.41 kB / 0.5943 GB, free: 17.45 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3931, allocations: 0 / 0.5943 GB, free: 17.45 MB / 446.1 MB Notification: Performance of Templates: time 0.003395/0.3965, allocations: 1.431 MB / 0.5957 GB, free: 16.02 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)