Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001569/0.00157, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.824/0.824, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 0.506 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 80.92 MB / 0.5851 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002271/0.3243, allocations: 1.437 MB / 0.5865 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.3246, allocations: 92.44 kB / 0.5866 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.3246, allocations: 1.219 kB / 0.5866 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.3247, allocations: 0 / 0.5866 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.3247, allocations: 6.875 kB / 0.5866 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.3249, allocations: 19.81 kB / 0.5866 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.325, allocations: 22.88 kB / 0.5866 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.3251, allocations: 11.95 kB / 0.5866 GB, free: 24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.3251, allocations: 11.48 kB / 0.5866 GB, free: 24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.43e-05/0.3252, allocations: 14.89 kB / 0.5866 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3252, allocations: 6.719 kB / 0.5866 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.3252, allocations: 14.36 kB / 0.5867 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.3252, allocations: 4 kB / 0.5867 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.3253, allocations: 10.81 kB / 0.5867 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.97e-05/0.3254, allocations: 33.73 kB / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3254, allocations: 0 / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3254, allocations: 0.9062 kB / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3254, allocations: 0 / 0.5867 GB, free: 23.94 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003344/0.3257, allocations: 346 kB / 0.587 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3258, allocations: 10.42 kB / 0.587 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.3259, allocations: 17.33 kB / 0.5871 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.326, allocations: 175 kB / 0.5872 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3261, allocations: 2.219 kB / 0.5872 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3261, allocations: 1.75 kB / 0.5872 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3263, allocations: 57.77 kB / 0.5873 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3263, allocations: 0.6875 kB / 0.5873 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3263, allocations: 10.62 kB / 0.5873 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3263, allocations: 0 / 0.5873 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.3265, allocations: 54.78 kB / 0.5873 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.3268, allocations: 257.1 kB / 0.5876 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.327, allocations: 56.11 kB / 0.5876 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3271, allocations: 31.89 kB / 0.5877 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3271, allocations: 1.469 kB / 0.5877 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.3271, allocations: 31.25 kB / 0.5877 GB, free: 22.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3271, allocations: 2.719 kB / 0.5877 GB, free: 22.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003861/0.3275, allocations: 108.2 kB / 0.5878 GB, free: 22.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.3275, allocations: 54.28 kB / 0.5879 GB, free: 22.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.3276, allocations: 106.1 kB / 0.588 GB, free: 22.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.3276, allocations: 25.7 kB / 0.588 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.3277, allocations: 85.36 kB / 0.5881 GB, free: 22.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.3277, allocations: 9.953 kB / 0.5881 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.3277, allocations: 11.03 kB / 0.5881 GB, free: 22.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.3278, allocations: 317.1 kB / 0.5884 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.3279, allocations: 28.25 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.328, allocations: 16.8 kB / 0.5884 GB, free: 22.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.3282, allocations: 57.28 kB / 0.5885 GB, free: 22.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3282, allocations: 0 / 0.5885 GB, free: 22.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000221/0.3284, allocations: 85.02 kB / 0.5886 GB, free: 22.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3284, allocations: 5.094 kB / 0.5886 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3284, allocations: 5.312 kB / 0.5886 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3285, allocations: 1.625 kB / 0.5886 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3286, allocations: 10.83 kB / 0.5886 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3286, allocations: 1.281 kB / 0.5886 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.3286, allocations: 9.828 kB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3286, allocations: 2.531 kB / 0.5886 GB, free: 22.07 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 (2): * Single equations (assignments): 2 * 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.964e-05/0.3287, allocations: 115.4 kB / 0.5887 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.3287, allocations: 2.188 kB / 0.5887 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.3288, allocations: 4.844 kB / 0.5887 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3288, allocations: 0 / 0.5887 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3288, allocations: 6.359 kB / 0.5887 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3288, allocations: 5.391 kB / 0.5887 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3289, allocations: 171 kB / 0.5889 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3289, allocations: 1.125 kB / 0.5889 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.329, allocations: 14.55 kB / 0.5889 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.329, allocations: 5.969 kB / 0.5889 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.329, allocations: 0 / 0.5889 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.329, allocations: 0.5 kB / 0.5889 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.329, allocations: 1.75 kB / 0.5889 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.3293, allocations: 180.8 kB / 0.5891 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.3293, allocations: 78.45 kB / 0.5892 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3293, allocations: 2.75 kB / 0.5892 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.3294, allocations: 8.078 kB / 0.5892 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3294, allocations: 6.844 kB / 0.5892 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3295, allocations: 1.219 kB / 0.5892 GB, free: 21.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.245e-05/0.3295, allocations: 79.81 kB / 0.5893 GB, free: 21.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3295, allocations: 0 / 0.5893 GB, free: 21.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.3297, allocations: 6.781 kB / 0.5893 GB, free: 21.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.701e-05/0.3298, allocations: 103.6 kB / 0.5894 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.3301, allocations: 49.36 kB / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3301, allocations: 3.5 kB / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3302, allocations: 25.53 kB / 0.5894 GB, free: 21.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3305, allocations: 11.41 kB / 0.5895 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.3308, allocations: 144.4 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.3309, allocations: 0.6783 MB / 0.5903 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.331, allocations: 10.56 kB / 0.5903 GB, free: 20.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.331, allocations: 0 / 0.5903 GB, free: 20.4 MB / 446.1 MB Notification: Performance of Templates: time 0.001861/0.3328, allocations: 0.6364 MB / 0.5909 GB, free: 20.09 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)