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.001519/0.001519, allocations: 105.7 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.001442/0.001442, 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.808/0.808, allocations: 135.2 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001833, allocations: 68.08 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3142, allocations: 80.91 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002178/0.3164, allocations: 1.475 MB / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002517/0.3166, allocations: 126.4 kB / 0.5866 GB, free: 24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.3167, allocations: 2.375 kB / 0.5866 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.3167, allocations: 3.938 kB / 0.5866 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.3168, allocations: 20.39 kB / 0.5866 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.317, allocations: 16.23 kB / 0.5867 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.317, allocations: 46.19 kB / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.3171, allocations: 10 kB / 0.5867 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.3172, allocations: 18.92 kB / 0.5867 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.975e-05/0.3172, allocations: 22.38 kB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3172, allocations: 4.031 kB / 0.5868 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.93e-05/0.3173, allocations: 24.66 kB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.3174, allocations: 10.44 kB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.3174, allocations: 24.77 kB / 0.5868 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.3175, allocations: 60.8 kB / 0.5869 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3175, allocations: 0 / 0.5869 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3175, allocations: 1.562 kB / 0.5869 GB, free: 23.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3175, allocations: 0.625 kB / 0.5869 GB, free: 23.82 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.0003993/0.3179, allocations: 381.3 kB / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.318, allocations: 10.8 kB / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.318, allocations: 3.938 kB / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.708e-05/0.3181, allocations: 177.8 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.3181, allocations: 2.75 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3181, allocations: 1.688 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3183, allocations: 75.44 kB / 0.5875 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3184, allocations: 2.25 kB / 0.5875 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3184, allocations: 4.781 kB / 0.5875 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3184, allocations: 0 / 0.5875 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.3187, allocations: 77.2 kB / 0.5876 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.3189, allocations: 284.7 kB / 0.5878 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3191, allocations: 68.41 kB / 0.5879 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3193, allocations: 52.78 kB / 0.588 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.3195, allocations: 108.2 kB / 0.5881 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.3195, allocations: 31.94 kB / 0.5881 GB, free: 22.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3195, allocations: 1.125 kB / 0.5881 GB, free: 22.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005189/0.32, allocations: 149.2 kB / 0.5882 GB, free: 22.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.3201, allocations: 52.06 kB / 0.5883 GB, free: 22.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.3201, allocations: 130 kB / 0.5884 GB, free: 22.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.3202, allocations: 25.7 kB / 0.5884 GB, free: 22.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.3202, allocations: 92.52 kB / 0.5885 GB, free: 22.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.3202, allocations: 4.969 kB / 0.5885 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.3202, allocations: 16.48 kB / 0.5885 GB, free: 22.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.532e-05/0.3203, allocations: 318.6 kB / 0.5888 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3204, allocations: 41.83 kB / 0.5889 GB, free: 21.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3206, allocations: 34.66 kB / 0.5889 GB, free: 21.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.3208, allocations: 85.2 kB / 0.589 GB, free: 21.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3208, allocations: 7.875 kB / 0.589 GB, free: 21.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003039/0.3211, allocations: 112.5 kB / 0.5891 GB, free: 21.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3212, allocations: 8.438 kB / 0.5891 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3212, allocations: 5.062 kB / 0.5891 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3212, allocations: 1.625 kB / 0.5891 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3213, allocations: 18.31 kB / 0.5892 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3213, allocations: 1.344 kB / 0.5892 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.3214, allocations: 19.92 kB / 0.5892 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3214, allocations: 1.656 kB / 0.5892 GB, free: 21.72 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.953e-05/0.3215, allocations: 117.9 kB / 0.5893 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.3215, allocations: 7.594 kB / 0.5893 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.3219, allocations: 118.5 kB / 0.5894 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3219, allocations: 1.469 kB / 0.5894 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3219, allocations: 3.438 kB / 0.5894 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3219, allocations: 0 / 0.5894 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.322, allocations: 184.3 kB / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.322, allocations: 0 / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.3221, allocations: 15.2 kB / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3221, allocations: 0 / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3221, allocations: 1.281 kB / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3221, allocations: 0 / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3221, allocations: 3.938 kB / 0.5896 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3225, allocations: 208.5 kB / 0.5898 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.3225, allocations: 82.48 kB / 0.5899 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3225, allocations: 2.406 kB / 0.5899 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3226, allocations: 14.41 kB / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3227, allocations: 8.625 kB / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3227, allocations: 0 / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.839e-05/0.3227, allocations: 96.98 kB / 0.59 GB, free: 20.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3227, allocations: 0 / 0.59 GB, free: 20.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.323, allocations: 10.81 kB / 0.59 GB, free: 20.94 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 0.000103/0.3231, allocations: 112.8 kB / 0.5901 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.3234, allocations: 82.11 kB / 0.5902 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3234, allocations: 0 / 0.5902 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3236, allocations: 41.14 kB / 0.5902 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3238, allocations: 13.62 kB / 0.5902 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.3241, allocations: 175.3 kB / 0.5904 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.3242, allocations: 0.6919 MB / 0.5911 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.3242, allocations: 18.34 kB / 0.5911 GB, free: 19.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3242, allocations: 0.875 kB / 0.5911 GB, free: 19.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002145/0.3264, allocations: 0.8961 MB / 0.592 GB, free: 19.1 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)