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.001578/0.001578, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001826/0.001826, allocations: 191 kB / 17.29 MB, free: 5.516 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8176/0.8176, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.89 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4004, allocations: 80.91 MB / 0.5858 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002422/0.4028, allocations: 1.479 MB / 0.5872 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.4032, allocations: 122 kB / 0.5873 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.4032, allocations: 0 / 0.5873 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.4033, allocations: 0 / 0.5873 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.4034, allocations: 10.91 kB / 0.5873 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.4036, allocations: 24.44 kB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.4037, allocations: 45.25 kB / 0.5874 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.4038, allocations: 13.83 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.4038, allocations: 19.33 kB / 0.5874 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.4039, allocations: 21.78 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.4039, allocations: 3.688 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.547e-05/0.404, allocations: 21.7 kB / 0.5875 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.404, allocations: 18.42 kB / 0.5875 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.4041, allocations: 17.22 kB / 0.5875 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.4042, allocations: 60.14 kB / 0.5876 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4042, allocations: 0.5938 kB / 0.5876 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4042, allocations: 0 / 0.5876 GB, free: 24.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.4042, allocations: 2.156 kB / 0.5876 GB, free: 24.22 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.0004312/0.4047, allocations: 381 kB / 0.5879 GB, free: 23.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4047, allocations: 11.27 kB / 0.5879 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.4047, allocations: 3.5 kB / 0.5879 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.4048, allocations: 182.2 kB / 0.5881 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4049, allocations: 384 / 0.5881 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.4049, allocations: 9.531 kB / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.4051, allocations: 70.69 kB / 0.5882 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4051, allocations: 4.125 kB / 0.5882 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4052, allocations: 5 kB / 0.5882 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4052, allocations: 2.375 kB / 0.5882 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.4054, allocations: 75.55 kB / 0.5883 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.4057, allocations: 282.6 kB / 0.5885 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.406, allocations: 73.53 kB / 0.5886 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.4061, allocations: 48.97 kB / 0.5887 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.4063, allocations: 108.5 kB / 0.5888 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.4063, allocations: 31.72 kB / 0.5888 GB, free: 23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.4063, allocations: 5.016 kB / 0.5888 GB, free: 23 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005189/0.4069, allocations: 153.1 kB / 0.5889 GB, free: 22.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.4069, allocations: 52.25 kB / 0.589 GB, free: 22.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.407, allocations: 126 kB / 0.5891 GB, free: 22.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.407, allocations: 27.55 kB / 0.5891 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.4071, allocations: 90.83 kB / 0.5892 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.4071, allocations: 9.266 kB / 0.5892 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.4071, allocations: 17.22 kB / 0.5893 GB, free: 22.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.4072, allocations: 313.6 kB / 0.5896 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.4073, allocations: 38.08 kB / 0.5896 GB, free: 22.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4074, allocations: 37.88 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.4077, allocations: 85.11 kB / 0.5897 GB, free: 22.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4077, allocations: 3.938 kB / 0.5897 GB, free: 22.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002802/0.408, allocations: 112.7 kB / 0.5898 GB, free: 22.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.408, allocations: 5.844 kB / 0.5898 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.408, allocations: 0 / 0.5898 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.408, allocations: 3.438 kB / 0.5898 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4081, allocations: 17.84 kB / 0.5898 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4082, allocations: 1.281 kB / 0.5898 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.4082, allocations: 14.33 kB / 0.5899 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4082, allocations: 5.531 kB / 0.5899 GB, free: 22.11 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.444e-05/0.4083, allocations: 114.5 kB / 0.59 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.4084, allocations: 9.406 kB / 0.59 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.4087, allocations: 124 kB / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4087, allocations: 3.938 kB / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4087, allocations: 0 / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4088, allocations: 0.8125 kB / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.4089, allocations: 185.6 kB / 0.5903 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.4089, allocations: 1.844 kB / 0.5903 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.409, allocations: 15.98 kB / 0.5903 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.409, allocations: 0 / 0.5903 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.409, allocations: 4 kB / 0.5903 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.409, allocations: 0 / 0.5903 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.409, allocations: 9.141 kB / 0.5903 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.4093, allocations: 201.1 kB / 0.5905 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.4094, allocations: 86.7 kB / 0.5906 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4094, allocations: 3.984 kB / 0.5906 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.4095, allocations: 11.98 kB / 0.5906 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.4095, allocations: 5.172 kB / 0.5906 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.4095, allocations: 4 kB / 0.5906 GB, free: 21.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.045e-05/0.4096, allocations: 107.3 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4096, allocations: 0.9688 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.4098, allocations: 12 kB / 0.5907 GB, free: 21.15 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.0001487/0.41, allocations: 100 kB / 0.5908 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.4103, allocations: 78.12 kB / 0.5909 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4103, allocations: 3.938 kB / 0.5909 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.4104, allocations: 44.77 kB / 0.5909 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.4107, allocations: 9.844 kB / 0.5909 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.411, allocations: 153.5 kB / 0.5911 GB, free: 20.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.4112, allocations: 0.6855 MB / 0.5918 GB, free: 20.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.826e-05/0.4112, allocations: 6.312 kB / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.4112, allocations: 7.438 kB / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4112, allocations: 0 / 0.5918 GB, free: 20.02 MB / 446.1 MB Notification: Performance of Templates: time 0.002692/0.4139, allocations: 0.7947 MB / 0.5926 GB, free: 19.26 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)