Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 104.5 kB / 16.27 MB, free: 6.355 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.001266/0.001266, allocations: 194.9 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8346/0.8346, allocations: 135.2 MB / 426.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 64.12 kB / 0.506 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3295, allocations: 80.91 MB / 0.585 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002314/0.3319, allocations: 1.486 MB / 0.5865 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002618/0.3322, allocations: 121.7 kB / 0.5866 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.3322, allocations: 1.625 kB / 0.5866 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.3323, allocations: 1.438 kB / 0.5866 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.3323, allocations: 13.52 kB / 0.5866 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.3325, allocations: 22.5 kB / 0.5866 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.3326, allocations: 45.06 kB / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.3327, allocations: 11.12 kB / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.3327, allocations: 18.45 kB / 0.5867 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.3328, allocations: 25.91 kB / 0.5867 GB, free: 24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.3328, allocations: 4.219 kB / 0.5867 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.974e-05/0.3329, allocations: 20.92 kB / 0.5868 GB, free: 24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.3329, allocations: 14.11 kB / 0.5868 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.333, allocations: 17.69 kB / 0.5868 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3331, allocations: 59.73 kB / 0.5869 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3331, allocations: 0.8438 kB / 0.5869 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3331, allocations: 0 / 0.5869 GB, free: 23.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3331, allocations: 1.531 kB / 0.5869 GB, free: 23.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004637/0.3336, allocations: 381.6 kB / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3336, allocations: 14.36 kB / 0.5872 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3336, allocations: 5.281 kB / 0.5872 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/0.3337, allocations: 176.8 kB / 0.5874 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.3337, allocations: 1.344 kB / 0.5874 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3338, allocations: 5.875 kB / 0.5874 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.334, allocations: 73.53 kB / 0.5875 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.334, allocations: 192 / 0.5875 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3341, allocations: 10.47 kB / 0.5875 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3341, allocations: 0 / 0.5875 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.3344, allocations: 77.56 kB / 0.5876 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.3346, allocations: 281.7 kB / 0.5878 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3348, allocations: 74.69 kB / 0.5879 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.335, allocations: 44.28 kB / 0.588 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.3352, allocations: 113.7 kB / 0.5881 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.3353, allocations: 30.56 kB / 0.5881 GB, free: 22.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.3353, allocations: 3 kB / 0.5881 GB, free: 22.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005357/0.3358, allocations: 147.4 kB / 0.5882 GB, free: 22.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.3358, allocations: 56.88 kB / 0.5883 GB, free: 22.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.3359, allocations: 128.6 kB / 0.5884 GB, free: 22.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.3359, allocations: 27.17 kB / 0.5884 GB, free: 22.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.336, allocations: 91.86 kB / 0.5885 GB, free: 22.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.336, allocations: 9.453 kB / 0.5885 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.336, allocations: 17.69 kB / 0.5885 GB, free: 22.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.3361, allocations: 312 kB / 0.5888 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3362, allocations: 38.64 kB / 0.5889 GB, free: 21.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.3364, allocations: 42.17 kB / 0.5889 GB, free: 21.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3366, allocations: 78.09 kB / 0.589 GB, free: 21.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3366, allocations: 7.875 kB / 0.589 GB, free: 21.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003137/0.337, allocations: 120 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.337, allocations: 5.094 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.337, allocations: 1.312 kB / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.337, allocations: 0 / 0.5891 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3371, allocations: 19.53 kB / 0.5891 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3372, allocations: 1.062 kB / 0.5891 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.3372, allocations: 21.14 kB / 0.5892 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3372, allocations: 1.5 kB / 0.5892 GB, free: 21.82 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 (3): * Single equations (assignments): 3 * 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.986e-05/0.3373, allocations: 113.3 kB / 0.5893 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.3373, allocations: 6.125 kB / 0.5893 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.3377, allocations: 124.1 kB / 0.5894 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3377, allocations: 0 / 0.5894 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3377, allocations: 1.875 kB / 0.5894 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3377, allocations: 1.75 kB / 0.5894 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3379, allocations: 188.2 kB / 0.5896 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3379, allocations: 0 / 0.5896 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.338, allocations: 14.92 kB / 0.5896 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.338, allocations: 1.312 kB / 0.5896 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.338, allocations: 0 / 0.5896 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.338, allocations: 1.406 kB / 0.5896 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.338, allocations: 3.984 kB / 0.5896 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.3383, allocations: 204.8 kB / 0.5898 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.3384, allocations: 86.19 kB / 0.5899 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3384, allocations: 3.812 kB / 0.5899 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3385, allocations: 14.64 kB / 0.5899 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.3385, allocations: 1.125 kB / 0.5899 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3386, allocations: 1.25 kB / 0.5899 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.895e-05/0.3386, allocations: 100.4 kB / 0.59 GB, free: 21.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3386, allocations: 0 / 0.59 GB, free: 21.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.3388, allocations: 14.16 kB / 0.59 GB, free: 21.03 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 (3): * Single equations (assignments): 3 * 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.94e-05/0.3389, allocations: 106.7 kB / 0.5901 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.3393, allocations: 76.83 kB / 0.5902 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3393, allocations: 0 / 0.5902 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3394, allocations: 45.8 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3397, allocations: 12.31 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.34, allocations: 186.1 kB / 0.5904 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.363e-05/0.3401, allocations: 0.6885 MB / 0.5911 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.3401, allocations: 7.438 kB / 0.5911 GB, free: 19.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3401, allocations: 4 kB / 0.5911 GB, free: 19.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002199/0.3423, allocations: 0.8953 MB / 0.592 GB, free: 19.11 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)