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.001857/0.001857, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7289/0.7289, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.456/1.456, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0008839/0.0008841, allocations: 90.97 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.824e-05, allocations: 4.062 kB / 0.56 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1851, allocations: 82.31 MB / 0.6404 GB, free: 7.859 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6671/0.8522, allocations: 111.3 MB / 0.7491 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.8525, allocations: 74.3 kB / 0.7491 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003303/0.8558, allocations: 1.086 MB / 0.7502 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8558, allocations: 0 / 0.7502 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8559, allocations: 3.984 kB / 0.7502 GB, free: 27.63 MB / 0.5105 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.0003866/0.8563, allocations: 375.3 kB / 0.7506 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8563, allocations: 7.812 kB / 0.7506 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.8563, allocations: 7.781 kB / 0.7506 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.8565, allocations: 179.7 kB / 0.7507 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.8565, allocations: 4 kB / 0.7508 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.8565, allocations: 6.531 kB / 0.7508 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.8566, allocations: 49.64 kB / 0.7508 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8566, allocations: 3.938 kB / 0.7508 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.8567, allocations: 1.859 kB / 0.7508 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.8567, allocations: 0 / 0.7508 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.024e-05/0.8567, allocations: 34.75 kB / 0.7508 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.8573, allocations: 324.2 kB / 0.7512 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.8574, allocations: 48.53 kB / 0.7512 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.8574, allocations: 18.73 kB / 0.7512 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.8576, allocations: 116.9 kB / 0.7513 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.8576, allocations: 37.72 kB / 0.7514 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.8576, allocations: 0 / 0.7514 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001807/0.8578, allocations: 64.83 kB / 0.7514 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.8579, allocations: 51.41 kB / 0.7515 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.858, allocations: 113.5 kB / 0.7516 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.858, allocations: 25.7 kB / 0.7516 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.858, allocations: 102.1 kB / 0.7517 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.8581, allocations: 7.406 kB / 0.7517 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.8581, allocations: 0 / 0.7517 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8582, allocations: 325.5 kB / 0.752 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.8582, allocations: 15.25 kB / 0.752 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.8583, allocations: 18.45 kB / 0.7521 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.8583, allocations: 18.42 kB / 0.7521 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.8583, allocations: 0 / 0.7521 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.545e-05/0.8584, allocations: 70.06 kB / 0.7521 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.8584, allocations: 8.75 kB / 0.7521 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.8584, allocations: 4 kB / 0.7522 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.8584, allocations: 0 / 0.7522 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.8586, allocations: 19.61 kB / 0.7522 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.8586, allocations: 0 / 0.7522 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.8587, allocations: 20.47 kB / 0.7522 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.8587, allocations: 7.875 kB / 0.7522 GB, free: 25.89 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.8588, allocations: 104.9 kB / 0.7523 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.8588, allocations: 6.531 kB / 0.7523 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.859, allocations: 85.95 kB / 0.7524 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.859, allocations: 0 / 0.7524 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.859, allocations: 0 / 0.7524 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.859, allocations: 0 / 0.7524 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.8591, allocations: 186.1 kB / 0.7526 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8592, allocations: 0 / 0.7526 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.8593, allocations: 24.55 kB / 0.7526 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8593, allocations: 3.906 kB / 0.7526 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.8593, allocations: 0 / 0.7526 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8593, allocations: 4 kB / 0.7526 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8593, allocations: 0 / 0.7526 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.8594, allocations: 165.8 kB / 0.7528 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.8595, allocations: 92.8 kB / 0.7528 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.8595, allocations: 0 / 0.7528 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.8596, allocations: 17.31 kB / 0.7529 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.8597, allocations: 10.41 kB / 0.7529 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.8597, allocations: 0 / 0.7529 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.8597, allocations: 106.3 kB / 0.753 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8597, allocations: 0 / 0.753 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001978/0.8599, allocations: 15.69 kB / 0.753 GB, free: 25.21 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.8601, allocations: 98.44 kB / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.8602, allocations: 32.56 kB / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8602, allocations: 3.938 kB / 0.7531 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.425e-05/0.8602, allocations: 25.69 kB / 0.7531 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.8604, allocations: 7.766 kB / 0.7531 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.8606, allocations: 92.09 kB / 0.7532 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.8609, allocations: 0.6955 MB / 0.7539 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.8609, allocations: 432 / 0.7539 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.861, allocations: 11.22 kB / 0.7539 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.861, allocations: 0 / 0.7539 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.002357/0.8633, allocations: 0.6496 MB / 0.7546 GB, free: 24.27 MB / 0.5105 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)