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.001315/0.001315, allocations: 108.4 kB / 16.37 MB, free: 5.516 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.001582/0.001583, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.316/1.316, 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-master/package.mo): time 0.7795/0.7795, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 71.89 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4038, allocations: 80.9 MB / 0.5858 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002295/0.4061, allocations: 1.48 MB / 0.5872 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.4064, allocations: 112.7 kB / 0.5873 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.4065, allocations: 0 / 0.5873 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.4065, allocations: 3.938 kB / 0.5873 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.817e-05/0.4066, allocations: 15.02 kB / 0.5873 GB, free: 24.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.4068, allocations: 25.44 kB / 0.5874 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.4069, allocations: 41.97 kB / 0.5874 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.407, allocations: 18.09 kB / 0.5874 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.987e-05/0.4071, allocations: 15.44 kB / 0.5874 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.4071, allocations: 28.94 kB / 0.5875 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.4071, allocations: 3.875 kB / 0.5875 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.4072, allocations: 21.42 kB / 0.5875 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.4072, allocations: 14.61 kB / 0.5875 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.4073, allocations: 17.84 kB / 0.5875 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.4074, allocations: 64.06 kB / 0.5876 GB, free: 24.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4074, allocations: 0 / 0.5876 GB, free: 24.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4074, allocations: 0.7188 kB / 0.5876 GB, free: 24.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.4074, allocations: 1.438 kB / 0.5876 GB, free: 24.4 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.0004303/0.4078, allocations: 381.4 kB / 0.5879 GB, free: 24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4079, allocations: 11.55 kB / 0.588 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.4079, allocations: 3.812 kB / 0.588 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.408, allocations: 176.1 kB / 0.5881 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.408, allocations: 2.438 kB / 0.5881 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.4081, allocations: 2.906 kB / 0.5881 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.4083, allocations: 77.41 kB / 0.5882 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4083, allocations: 192 / 0.5882 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4083, allocations: 11.92 kB / 0.5882 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4083, allocations: 2.25 kB / 0.5882 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.4086, allocations: 72.36 kB / 0.5883 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.4089, allocations: 286.3 kB / 0.5886 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.4092, allocations: 69.66 kB / 0.5886 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4093, allocations: 48.38 kB / 0.5887 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.4095, allocations: 109.7 kB / 0.5888 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.4095, allocations: 35.84 kB / 0.5888 GB, free: 23.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4096, allocations: 0 / 0.5888 GB, free: 23.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004791/0.41, allocations: 149.2 kB / 0.589 GB, free: 23.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.4101, allocations: 52.72 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.4102, allocations: 129.1 kB / 0.5891 GB, free: 22.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.4102, allocations: 26.45 kB / 0.5892 GB, free: 22.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.4102, allocations: 95.31 kB / 0.5892 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.4102, allocations: 5.219 kB / 0.5892 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.4103, allocations: 17.91 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.4103, allocations: 317.7 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4105, allocations: 38.33 kB / 0.5896 GB, free: 22.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.4106, allocations: 38.36 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.4108, allocations: 81.5 kB / 0.5897 GB, free: 22.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4109, allocations: 3.938 kB / 0.5897 GB, free: 22.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002825/0.4111, allocations: 106.7 kB / 0.5898 GB, free: 22.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4112, allocations: 8.5 kB / 0.5898 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4112, allocations: 8.547 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4112, allocations: 0.625 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4113, allocations: 18.48 kB / 0.5899 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4113, allocations: 3.938 kB / 0.5899 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.4114, allocations: 15.92 kB / 0.5899 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4114, allocations: 4 kB / 0.5899 GB, free: 22.25 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 6.366e-05/0.4115, allocations: 119.3 kB / 0.59 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4115, allocations: 3.906 kB / 0.59 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.4118, allocations: 123.9 kB / 0.5901 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4118, allocations: 4 kB / 0.5901 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4119, allocations: 1.562 kB / 0.5901 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4119, allocations: 3.938 kB / 0.5901 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.412, allocations: 177.6 kB / 0.5903 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.412, allocations: 0 / 0.5903 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.372e-05/0.4121, allocations: 21.59 kB / 0.5903 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4121, allocations: 0 / 0.5903 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.4121, allocations: 0 / 0.5903 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4121, allocations: 3.938 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4121, allocations: 6.812 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.4124, allocations: 205.2 kB / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.4124, allocations: 84.95 kB / 0.5906 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4124, allocations: 4 kB / 0.5906 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.4125, allocations: 7.984 kB / 0.5906 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.4126, allocations: 8.594 kB / 0.5906 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.4126, allocations: 3.984 kB / 0.5906 GB, free: 21.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.4126, allocations: 96.39 kB / 0.5907 GB, free: 21.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4126, allocations: 0 / 0.5907 GB, free: 21.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.4129, allocations: 16.53 kB / 0.5907 GB, free: 21.29 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.0001045/0.413, allocations: 97.56 kB / 0.5908 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.4133, allocations: 84.62 kB / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4133, allocations: 0 / 0.5909 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4134, allocations: 37.78 kB / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.4137, allocations: 14.12 kB / 0.591 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.4139, allocations: 151 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.414, allocations: 0.6846 MB / 0.5918 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.658e-05/0.4141, allocations: 9.047 kB / 0.5918 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.4141, allocations: 15.44 kB / 0.5918 GB, free: 20.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4141, allocations: 1.844 kB / 0.5918 GB, free: 20.15 MB / 446.1 MB Notification: Performance of Templates: time 0.002712/0.4168, allocations: 0.798 MB / 0.5926 GB, free: 19.39 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)