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.005509/0.005509, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001174/0.001175, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8827/0.8827, allocations: 135.1 MB / 425.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 71.16 kB / 0.5053 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 80.92 MB / 0.5843 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002511/0.1428, allocations: 1.549 MB / 0.5859 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003133/0.1432, allocations: 116.6 kB / 0.586 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.1432, allocations: 0 / 0.586 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.1433, allocations: 3.938 kB / 0.586 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/0.1433, allocations: 11.88 kB / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.1435, allocations: 19.98 kB / 0.586 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.1436, allocations: 39.89 kB / 0.586 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.1437, allocations: 8 kB / 0.586 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.1437, allocations: 19.92 kB / 0.5861 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.1437, allocations: 15.92 kB / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1438, allocations: 4 kB / 0.5861 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.167e-05/0.1438, allocations: 27.84 kB / 0.5861 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.1439, allocations: 8 kB / 0.5861 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.1439, allocations: 19.86 kB / 0.5861 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.357e-05/0.144, allocations: 43.94 kB / 0.5862 GB, free: 3.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.144, allocations: 4 kB / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1441, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1441, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.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.0004985/0.1446, allocations: 379.5 kB / 0.5865 GB, free: 2.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1446, allocations: 8.031 kB / 0.5866 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.1446, allocations: 8.844 kB / 0.5866 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1448, allocations: 172.3 kB / 0.5867 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1448, allocations: 8.312 kB / 0.5867 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.1448, allocations: 4.375 kB / 0.5867 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.1451, allocations: 70.22 kB / 0.5868 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1451, allocations: 192 / 0.5868 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1451, allocations: 3.938 kB / 0.5868 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1451, allocations: 0 / 0.5868 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.1454, allocations: 83.86 kB / 0.5869 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1458, allocations: 280.9 kB / 0.5872 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.146, allocations: 70.47 kB / 0.5872 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1461, allocations: 48.91 kB / 0.5873 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.1464, allocations: 109.1 kB / 0.5874 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1464, allocations: 34.5 kB / 0.5874 GB, free: 1.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1464, allocations: 0 / 0.5874 GB, free: 1.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005388/0.147, allocations: 145.6 kB / 0.5875 GB, free: 1.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.147, allocations: 55.41 kB / 0.5876 GB, free: 1.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1471, allocations: 128.5 kB / 0.5877 GB, free: 1.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1471, allocations: 25.7 kB / 0.5877 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.1472, allocations: 96.08 kB / 0.5878 GB, free: 1.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1472, allocations: 11.89 kB / 0.5878 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1473, allocations: 13.72 kB / 0.5879 GB, free: 1.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1474, allocations: 318.8 kB / 0.5882 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1475, allocations: 35.95 kB / 0.5882 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1477, allocations: 31.97 kB / 0.5882 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.148, allocations: 92.98 kB / 0.5883 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.148, allocations: 7.875 kB / 0.5883 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003214/0.1483, allocations: 109.5 kB / 0.5884 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1483, allocations: 4 kB / 0.5884 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1484, allocations: 4 kB / 0.5884 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1484, allocations: 4 kB / 0.5884 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1485, allocations: 15.97 kB / 0.5885 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1485, allocations: 0 / 0.5885 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.1486, allocations: 11.98 kB / 0.5885 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1486, allocations: 0 / 0.5885 GB, free: 492 kB / 494.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 8.022e-05/0.1487, allocations: 117.8 kB / 0.5886 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1488, allocations: 11.84 kB / 0.5886 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.1491, allocations: 121.5 kB / 0.5887 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1492, allocations: 3.938 kB / 0.5887 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1492, allocations: 0 / 0.5887 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1492, allocations: 0 / 0.5887 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.1494, allocations: 193.6 kB / 0.5889 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1494, allocations: 0 / 0.5889 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.1495, allocations: 15.98 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1495, allocations: 4 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1495, allocations: 0 / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1495, allocations: 0 / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1495, allocations: 0 / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.1499, allocations: 211.3 kB / 0.5891 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.1499, allocations: 85.02 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.15, allocations: 3.984 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1501, allocations: 11.98 kB / 0.5892 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.1501, allocations: 8 kB / 0.5892 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1501, allocations: 0 / 0.5892 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.1502, allocations: 99.25 kB / 0.5893 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1502, allocations: 0 / 0.5893 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002284/0.1504, allocations: 8 kB / 0.5893 GB, free: 15.5 MB / 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.0001381/0.1506, allocations: 103.2 kB / 0.5894 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.1509, allocations: 79.86 kB / 0.5895 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1509, allocations: 4 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1511, allocations: 39.95 kB / 0.5895 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1513, allocations: 16.92 kB / 0.5896 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.1517, allocations: 200.8 kB / 0.5897 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.1519, allocations: 0.6848 MB / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.1519, allocations: 15.38 kB / 0.5904 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1519, allocations: 4 kB / 0.5904 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.002036/0.154, allocations: 0.8769 MB / 0.5913 GB, free: 13.42 MB / 0.4981 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)