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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7269/0.7269, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 404.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001096, allocations: 107.7 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009942/0.0009943, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1322, allocations: 80.41 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002837/0.135, allocations: 1.545 MB / 0.6436 GB, free: 3.879 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.1354, allocations: 120.5 kB / 0.6438 GB, free: 3.758 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1354, allocations: 0 / 0.6438 GB, free: 3.758 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.1355, allocations: 3.938 kB / 0.6438 GB, free: 3.754 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.1356, allocations: 15.92 kB / 0.6438 GB, free: 3.738 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1358, allocations: 19.97 kB / 0.6438 GB, free: 3.719 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.1358, allocations: 35.92 kB / 0.6438 GB, free: 3.684 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.1359, allocations: 7.984 kB / 0.6438 GB, free: 3.676 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.136, allocations: 19.92 kB / 0.6439 GB, free: 3.656 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.136, allocations: 27.91 kB / 0.6439 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1361, allocations: 0 / 0.6439 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.354e-05/0.1361, allocations: 19.98 kB / 0.6439 GB, free: 3.609 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.1362, allocations: 17.22 kB / 0.6439 GB, free: 3.594 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.1362, allocations: 27.86 kB / 0.6439 GB, free: 3.566 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1364, allocations: 51.81 kB / 0.644 GB, free: 3.516 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1364, allocations: 0 / 0.644 GB, free: 3.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1364, allocations: 0 / 0.644 GB, free: 3.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1364, allocations: 0 / 0.644 GB, free: 3.516 MB / 442.7 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.0005287/0.1369, allocations: 383.4 kB / 0.6444 GB, free: 3.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.137, allocations: 8.031 kB / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.137, allocations: 8.844 kB / 0.6444 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1371, allocations: 176.3 kB / 0.6445 GB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1371, allocations: 384 / 0.6445 GB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1371, allocations: 4.375 kB / 0.6445 GB, free: 2.859 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1374, allocations: 70.22 kB / 0.6446 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1374, allocations: 192 / 0.6446 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1374, allocations: 7.938 kB / 0.6446 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1375, allocations: 0 / 0.6446 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.1378, allocations: 83.84 kB / 0.6447 GB, free: 2.695 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1381, allocations: 281 kB / 0.645 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1384, allocations: 70.47 kB / 0.645 GB, free: 2.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1385, allocations: 44.91 kB / 0.6451 GB, free: 2.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.1388, allocations: 113 kB / 0.6452 GB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1389, allocations: 34.5 kB / 0.6452 GB, free: 2.074 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1389, allocations: 0 / 0.6452 GB, free: 2.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005508/0.1394, allocations: 149.5 kB / 0.6454 GB, free: 1.922 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1395, allocations: 55.41 kB / 0.6454 GB, free: 1.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.1396, allocations: 127 kB / 0.6455 GB, free: 1.723 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1396, allocations: 25.7 kB / 0.6456 GB, free: 1.691 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.1397, allocations: 100.1 kB / 0.6457 GB, free: 1.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1397, allocations: 11.89 kB / 0.6457 GB, free: 1.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1397, allocations: 13.72 kB / 0.6457 GB, free: 1.559 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1398, allocations: 314.8 kB / 0.646 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.14, allocations: 35.95 kB / 0.646 GB, free: 1.207 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1401, allocations: 35.95 kB / 0.646 GB, free: 1.172 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1404, allocations: 88.72 kB / 0.6461 GB, free: 1.082 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1405, allocations: 3.938 kB / 0.6461 GB, free: 1.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00033/0.1408, allocations: 109.5 kB / 0.6462 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1408, allocations: 11.94 kB / 0.6463 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1408, allocations: 4 kB / 0.6463 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1409, allocations: 0 / 0.6463 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.141, allocations: 15.97 kB / 0.6463 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.141, allocations: 0 / 0.6463 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.1411, allocations: 16.31 kB / 0.6463 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1411, allocations: 0 / 0.6463 GB, free: 0.918 MB / 442.7 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 9.127e-05/0.1412, allocations: 115.1 kB / 0.6464 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1412, allocations: 11.91 kB / 0.6464 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.1416, allocations: 129.4 kB / 0.6465 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1416, allocations: 0 / 0.6465 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1417, allocations: 0 / 0.6465 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1417, allocations: 0 / 0.6465 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1419, allocations: 181.6 kB / 0.6467 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1419, allocations: 0 / 0.6467 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.142, allocations: 19.98 kB / 0.6467 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.142, allocations: 0 / 0.6467 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.142, allocations: 0 / 0.6467 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.142, allocations: 3.984 kB / 0.6467 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.142, allocations: 0 / 0.6467 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/0.1428, allocations: 0.8019 MB / 0.6475 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1429, allocations: 81.02 kB / 0.6476 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1429, allocations: 4 kB / 0.6476 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.143, allocations: 7.984 kB / 0.6476 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1431, allocations: 11.92 kB / 0.6476 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1431, allocations: 7.938 kB / 0.6476 GB, free: 15.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.1432, allocations: 104.6 kB / 0.6477 GB, free: 15.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1432, allocations: 0 / 0.6477 GB, free: 15.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003447/0.1435, allocations: 12 kB / 0.6477 GB, free: 15.3 MB / 458.7 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.0001447/0.1437, allocations: 99.23 kB / 0.6478 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.144, allocations: 79.92 kB / 0.6479 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.144, allocations: 0 / 0.6479 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1442, allocations: 43.95 kB / 0.6479 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1444, allocations: 6.109 kB / 0.6479 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.1448, allocations: 278 kB / 0.6482 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1451, allocations: 0.6926 MB / 0.6489 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.932e-05/0.1451, allocations: 0 / 0.6489 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.1451, allocations: 11.44 kB / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1451, allocations: 0 / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of Templates: time 0.002595/0.1477, allocations: 0.6861 MB / 0.6496 GB, free: 13.34 MB / 458.7 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)