Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001006/0.001006, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007905/0.007905, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7831/0.7831, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004418, allocations: 8.812 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4519, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001624/0.4536, allocations: 1.206 MB / 0.5848 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003462/0.4539, allocations: 117.7 kB / 0.585 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.454, allocations: 3.938 kB / 0.585 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.454, allocations: 1.234 kB / 0.585 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.4541, allocations: 11 kB / 0.585 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.4543, allocations: 17.08 kB / 0.585 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.4544, allocations: 43.38 kB / 0.585 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/0.4544, allocations: 6.047 kB / 0.585 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.4545, allocations: 21.11 kB / 0.5851 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.4546, allocations: 19.7 kB / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.4546, allocations: 1.25 kB / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.931e-05/0.4546, allocations: 18.83 kB / 0.5851 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.4547, allocations: 17.81 kB / 0.5851 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.4547, allocations: 44 kB / 0.5851 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.4549, allocations: 51.34 kB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4549, allocations: 0 / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4549, allocations: 0 / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.4549, allocations: 3.938 kB / 0.5852 GB, free: 2.957 MB / 430.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.0004773/0.4554, allocations: 385.9 kB / 0.5856 GB, free: 2.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4554, allocations: 13.09 kB / 0.5856 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.4555, allocations: 12.52 kB / 0.5856 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.4556, allocations: 177.8 kB / 0.5858 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4556, allocations: 1.781 kB / 0.5858 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.4556, allocations: 6.734 kB / 0.5858 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.4559, allocations: 87 kB / 0.5859 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.4559, allocations: 192 / 0.5859 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4559, allocations: 4.438 kB / 0.5859 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4559, allocations: 0.6875 kB / 0.5859 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.4563, allocations: 100.1 kB / 0.586 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.4566, allocations: 275.9 kB / 0.5862 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.4568, allocations: 86.23 kB / 0.5863 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.457, allocations: 54.8 kB / 0.5864 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.4572, allocations: 110.2 kB / 0.5865 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.4573, allocations: 32.48 kB / 0.5865 GB, free: 1.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4573, allocations: 0 / 0.5865 GB, free: 1.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006472/0.4579, allocations: 183.6 kB / 0.5867 GB, free: 1.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.458, allocations: 53.2 kB / 0.5867 GB, free: 1.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.4581, allocations: 132.7 kB / 0.5868 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.4581, allocations: 25.7 kB / 0.5869 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.4581, allocations: 88.8 kB / 0.587 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.4581, allocations: 14.56 kB / 0.587 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.4582, allocations: 9.719 kB / 0.587 GB, free: 1.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.4582, allocations: 323.5 kB / 0.5873 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4584, allocations: 45.58 kB / 0.5873 GB, free: 1.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4586, allocations: 49.09 kB / 0.5874 GB, free: 1.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.4589, allocations: 99.38 kB / 0.5875 GB, free: 1.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4589, allocations: 3.938 kB / 0.5875 GB, free: 1.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003727/0.4593, allocations: 135.8 kB / 0.5876 GB, free: 1.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4593, allocations: 6.422 kB / 0.5876 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4593, allocations: 0 / 0.5876 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4593, allocations: 0 / 0.5876 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4595, allocations: 25.25 kB / 0.5876 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4595, allocations: 4.781 kB / 0.5876 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.4596, allocations: 20.41 kB / 0.5877 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4596, allocations: 1.297 kB / 0.5877 GB, free: 1.023 MB / 430.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 5.511e-05/0.4597, allocations: 118.8 kB / 0.5878 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.4597, allocations: 7.25 kB / 0.5878 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/0.4601, allocations: 143.3 kB / 0.5879 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4601, allocations: 4.641 kB / 0.5879 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4601, allocations: 1.594 kB / 0.5879 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4601, allocations: 48 / 0.5879 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.4603, allocations: 186.8 kB / 0.5881 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4603, allocations: 1.375 kB / 0.5881 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.4604, allocations: 20.53 kB / 0.5881 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.4604, allocations: 0.8438 kB / 0.5881 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4605, allocations: 8 kB / 0.5881 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4605, allocations: 4.531 kB / 0.5881 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4605, allocations: 2.031 kB / 0.5881 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.4609, allocations: 235.2 kB / 0.5884 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.4609, allocations: 83.19 kB / 0.5884 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4609, allocations: 1.219 kB / 0.5884 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.461, allocations: 19.89 kB / 0.5885 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.4611, allocations: 4.281 kB / 0.5885 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.4611, allocations: 1.094 kB / 0.5885 GB, free: 368 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.825e-05/0.4611, allocations: 107.6 kB / 0.5886 GB, free: 280 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4612, allocations: 0.5625 kB / 0.5886 GB, free: 280 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.4614, allocations: 9.438 kB / 0.5886 GB, free: 280 kB / 430.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.0001282/0.4615, allocations: 101.4 kB / 0.5887 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.4619, allocations: 99.97 kB / 0.5888 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4619, allocations: 4 kB / 0.5888 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.4621, allocations: 52.66 kB / 0.5888 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.4624, allocations: 9.641 kB / 0.5888 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.4627, allocations: 171.1 kB / 0.589 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.463, allocations: 0.6906 MB / 0.5897 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.463, allocations: 5.312 kB / 0.5897 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.4631, allocations: 9.969 kB / 0.5897 GB, free: 15.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4631, allocations: 0 / 0.5897 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Templates: time 0.002902/0.466, allocations: 0.6532 MB / 0.5903 GB, free: 15.22 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)