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.0014/0.0014, allocations: 104.4 kB / 16.4 MB, free: 6.473 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.001292/0.001292, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8546/0.8546, allocations: 135.2 MB / 426.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 64.5 kB / 0.5863 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1593, allocations: 80.94 MB / 0.6654 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002771/0.1621, allocations: 1.466 MB / 0.6668 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.1624, allocations: 116.5 kB / 0.6669 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.1625, allocations: 0 / 0.6669 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.1625, allocations: 7.922 kB / 0.6669 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.1626, allocations: 7.938 kB / 0.6669 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1628, allocations: 27.89 kB / 0.667 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.918e-05/0.1629, allocations: 39.92 kB / 0.667 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.163, allocations: 11.98 kB / 0.667 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.163, allocations: 19.92 kB / 0.667 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.1631, allocations: 19.92 kB / 0.667 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1631, allocations: 0 / 0.667 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.1632, allocations: 23.98 kB / 0.6671 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.1632, allocations: 19.86 kB / 0.6671 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.1632, allocations: 15.88 kB / 0.6671 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1634, allocations: 67.72 kB / 0.6672 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1634, allocations: 0 / 0.6672 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1634, allocations: 3.938 kB / 0.6672 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.1634, allocations: 0 / 0.6672 GB, free: 3.992 MB / 0.4981 GB 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.0006394/0.164, allocations: 379.2 kB / 0.6675 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1641, allocations: 13.09 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.1641, allocations: 12.89 kB / 0.6676 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1643, allocations: 176.2 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1643, allocations: 384 / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1643, allocations: 4.375 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.1646, allocations: 82.19 kB / 0.6678 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1646, allocations: 192 / 0.6678 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1647, allocations: 3.938 kB / 0.6678 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1647, allocations: 0 / 0.6678 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.165, allocations: 79.86 kB / 0.6679 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1654, allocations: 280.9 kB / 0.6682 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1657, allocations: 66.48 kB / 0.6682 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1658, allocations: 48.91 kB / 0.6683 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.1661, allocations: 113 kB / 0.6684 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1661, allocations: 38.5 kB / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1661, allocations: 0 / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006096/0.1667, allocations: 145.5 kB / 0.6685 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1668, allocations: 59.41 kB / 0.6686 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1669, allocations: 129.5 kB / 0.6687 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1669, allocations: 25.7 kB / 0.6688 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.167, allocations: 96.12 kB / 0.6688 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.167, allocations: 3.953 kB / 0.6688 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.1671, allocations: 13.72 kB / 0.6689 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1672, allocations: 318.8 kB / 0.6692 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1674, allocations: 39.97 kB / 0.6692 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1675, allocations: 35.95 kB / 0.6692 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.1678, allocations: 84.72 kB / 0.6693 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1679, allocations: 3.938 kB / 0.6693 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003573/0.1682, allocations: 113.6 kB / 0.6694 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1682, allocations: 4 kB / 0.6694 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1682, allocations: 0 / 0.6694 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1682, allocations: 0 / 0.6694 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1684, allocations: 15.98 kB / 0.6695 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1684, allocations: 3.984 kB / 0.6695 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.1685, allocations: 19.92 kB / 0.6695 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1685, allocations: 3.938 kB / 0.6695 GB, free: 1.387 MB / 0.4981 GB 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 0.0001137/0.1686, allocations: 121.8 kB / 0.6696 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1686, allocations: 7.953 kB / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.169, allocations: 117.5 kB / 0.6697 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.169, allocations: 4.375 kB / 0.6697 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.169, allocations: 0 / 0.6697 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.169, allocations: 0 / 0.6697 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1692, allocations: 185.6 kB / 0.6699 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1692, allocations: 0 / 0.6699 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1693, allocations: 19.97 kB / 0.6699 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1694, allocations: 7.984 kB / 0.6699 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1694, allocations: 0 / 0.6699 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1694, allocations: 0 / 0.6699 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1694, allocations: 0 / 0.6699 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.1698, allocations: 215.3 kB / 0.6701 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1698, allocations: 89 kB / 0.6702 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1699, allocations: 0 / 0.6702 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.17, allocations: 11.98 kB / 0.6702 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.17, allocations: 11.98 kB / 0.6702 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.17, allocations: 0 / 0.6702 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.384e-05/0.1701, allocations: 99.27 kB / 0.6703 GB, free: 420 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1701, allocations: 0 / 0.6703 GB, free: 420 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002424/0.1703, allocations: 8 kB / 0.6703 GB, free: 412 kB / 0.4981 GB 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.0001494/0.1705, allocations: 95.25 kB / 0.6704 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.1709, allocations: 87.91 kB / 0.6705 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1709, allocations: 0 / 0.6705 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.171, allocations: 39.91 kB / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1713, allocations: 17.8 kB / 0.6706 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.1717, allocations: 175.1 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1721, allocations: 0.6885 MB / 0.6714 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.1721, allocations: 11.44 kB / 0.6714 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1721, allocations: 0 / 0.6714 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.00268/0.1748, allocations: 0.8949 MB / 0.6723 GB, free: 14.33 MB / 0.5137 GB 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)