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.001029/0.001029, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001126/0.001127, allocations: 193.5 kB / 16.13 MB, free: 6.656 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.338/1.338, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7714/0.7714, allocations: 132.2 MB / 422.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.5 kB / 0.5011 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.423, allocations: 80.21 MB / 0.5794 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002421/0.4255, allocations: 1.546 MB / 0.5809 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.4258, allocations: 117.4 kB / 0.581 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.4259, allocations: 1.125 kB / 0.5811 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.4259, allocations: 0.75 kB / 0.5811 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.567e-05/0.426, allocations: 10.14 kB / 0.5811 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.4262, allocations: 22.45 kB / 0.5811 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.4262, allocations: 38.06 kB / 0.5811 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.4263, allocations: 15.05 kB / 0.5811 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.4264, allocations: 17.12 kB / 0.5811 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.4264, allocations: 19.66 kB / 0.5812 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.4265, allocations: 2.594 kB / 0.5812 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.4265, allocations: 18.56 kB / 0.5812 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.4266, allocations: 15.12 kB / 0.5812 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.4266, allocations: 22.41 kB / 0.5812 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.4268, allocations: 48.27 kB / 0.5813 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4268, allocations: 0.75 kB / 0.5813 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4268, allocations: 4.906 kB / 0.5813 GB, free: 3.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4268, allocations: 4 kB / 0.5813 GB, free: 3.277 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.0004888/0.4273, allocations: 384.9 kB / 0.5816 GB, free: 2.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4273, allocations: 9.375 kB / 0.5817 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.4274, allocations: 4.375 kB / 0.5817 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.279e-05/0.4274, allocations: 173.7 kB / 0.5818 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4274, allocations: 1.781 kB / 0.5818 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.4275, allocations: 6.062 kB / 0.5818 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.4277, allocations: 78.05 kB / 0.5819 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4277, allocations: 192 / 0.5819 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4278, allocations: 5.031 kB / 0.5819 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4278, allocations: 0 / 0.5819 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.4281, allocations: 71.69 kB / 0.582 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.4284, allocations: 295.8 kB / 0.5823 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.4286, allocations: 69 kB / 0.5823 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.4288, allocations: 41.47 kB / 0.5824 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.429, allocations: 110.6 kB / 0.5825 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.429, allocations: 32.45 kB / 0.5825 GB, free: 2.152 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.429, allocations: 0 / 0.5825 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006012/0.4297, allocations: 159.5 kB / 0.5827 GB, free: 2.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.4297, allocations: 52.91 kB / 0.5827 GB, free: 2.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.4298, allocations: 130.8 kB / 0.5828 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4298, allocations: 26.36 kB / 0.5829 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.4298, allocations: 93.38 kB / 0.5829 GB, free: 1.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.4299, allocations: 5.891 kB / 0.583 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.4299, allocations: 17.36 kB / 0.583 GB, free: 1.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.43, allocations: 326.8 kB / 0.5833 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4301, allocations: 36 kB / 0.5833 GB, free: 1.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4303, allocations: 40.45 kB / 0.5834 GB, free: 1.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.4306, allocations: 78.69 kB / 0.5834 GB, free: 1.418 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4306, allocations: 7.875 kB / 0.5834 GB, free: 1.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003408/0.4309, allocations: 112.1 kB / 0.5835 GB, free: 1.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.431, allocations: 6.312 kB / 0.5835 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.431, allocations: 0 / 0.5835 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.431, allocations: 0.8438 kB / 0.5835 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.4311, allocations: 19.25 kB / 0.5836 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4312, allocations: 5.422 kB / 0.5836 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.4313, allocations: 14.94 kB / 0.5836 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4313, allocations: 3.312 kB / 0.5836 GB, free: 1.352 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 6.263e-05/0.4313, allocations: 118.3 kB / 0.5837 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.4314, allocations: 6.156 kB / 0.5837 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004125/0.4318, allocations: 124.1 kB / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4318, allocations: 0 / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4318, allocations: 0.6094 kB / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4318, allocations: 0.75 kB / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.432, allocations: 183.7 kB / 0.584 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.432, allocations: 0 / 0.584 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.4321, allocations: 16.56 kB / 0.584 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4321, allocations: 1.156 kB / 0.584 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.4321, allocations: 0 / 0.584 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4321, allocations: 4.938 kB / 0.584 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4321, allocations: 0.6094 kB / 0.584 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.4325, allocations: 212 kB / 0.5842 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.4326, allocations: 79.42 kB / 0.5843 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.4326, allocations: 5.922 kB / 0.5843 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.4327, allocations: 15.56 kB / 0.5843 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.4328, allocations: 3.406 kB / 0.5843 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.4328, allocations: 1.406 kB / 0.5843 GB, free: 0.707 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.151e-05/0.4328, allocations: 101 kB / 0.5844 GB, free: 0.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4328, allocations: 0 / 0.5844 GB, free: 0.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.4331, allocations: 10.47 kB / 0.5844 GB, free: 0.625 MB / 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.0001558/0.4332, allocations: 101.3 kB / 0.5845 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.4336, allocations: 79.91 kB / 0.5846 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4337, allocations: 0 / 0.5846 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.4338, allocations: 47.8 kB / 0.5847 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.4341, allocations: 9.609 kB / 0.5847 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.4345, allocations: 171.4 kB / 0.5848 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.4347, allocations: 0.6865 MB / 0.5855 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.4348, allocations: 7.5 kB / 0.5855 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.4348, allocations: 8.812 kB / 0.5855 GB, free: 15.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4348, allocations: 4 kB / 0.5855 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Templates: time 0.00299/0.4378, allocations: 0.6566 MB / 0.5862 GB, free: 15.57 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)