Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic") translateModel(IDEAS.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006562/0.006562, allocations: 105.4 kB / 15.74 MB, free: 6.039 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.001677/0.001677, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9368/0.9368, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 63.91 kB / 0.5856 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4425, allocations: 80.92 MB / 0.6647 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002433/0.445, allocations: 1.484 MB / 0.6661 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003518/0.4454, allocations: 107.4 kB / 0.6662 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.4454, allocations: 1.25 kB / 0.6662 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/0.4455, allocations: 3.938 kB / 0.6662 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.904e-05/0.4455, allocations: 6.531 kB / 0.6662 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.4458, allocations: 28.16 kB / 0.6662 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.4459, allocations: 41.45 kB / 0.6663 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.446, allocations: 17.45 kB / 0.6663 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.446, allocations: 17.48 kB / 0.6663 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.4461, allocations: 20.75 kB / 0.6663 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4461, allocations: 4.438 kB / 0.6663 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.915e-05/0.4462, allocations: 19.48 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.4462, allocations: 14.33 kB / 0.6664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.4462, allocations: 26.02 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.4464, allocations: 55.08 kB / 0.6664 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4464, allocations: 0 / 0.6664 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4464, allocations: 4 kB / 0.6665 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.4464, allocations: 3.938 kB / 0.6665 GB, free: 6.125 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.0004619/0.4469, allocations: 376.3 kB / 0.6668 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4469, allocations: 13.8 kB / 0.6668 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.447, allocations: 7.812 kB / 0.6668 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.011e-05/0.4471, allocations: 176.5 kB / 0.667 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4471, allocations: 1.688 kB / 0.667 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4471, allocations: 1.656 kB / 0.667 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.4473, allocations: 84.14 kB / 0.6671 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4473, allocations: 192 / 0.6671 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4474, allocations: 3.938 kB / 0.6671 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4474, allocations: 1.031 kB / 0.6671 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.4476, allocations: 75.23 kB / 0.6672 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.448, allocations: 285.4 kB / 0.6674 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.4481, allocations: 64.7 kB / 0.6675 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.4483, allocations: 46.66 kB / 0.6675 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.4485, allocations: 114.6 kB / 0.6677 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.4485, allocations: 31.66 kB / 0.6677 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.314e-06/0.4485, allocations: 1.531 kB / 0.6677 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005139/0.4491, allocations: 153.2 kB / 0.6678 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.4491, allocations: 52.34 kB / 0.6679 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.4492, allocations: 125.6 kB / 0.668 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.4492, allocations: 25.7 kB / 0.668 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.4492, allocations: 91.95 kB / 0.6681 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.4492, allocations: 9.016 kB / 0.6681 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.4493, allocations: 16.31 kB / 0.6681 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.4493, allocations: 317 kB / 0.6684 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.4495, allocations: 36.86 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4496, allocations: 41.89 kB / 0.6685 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.4498, allocations: 83.19 kB / 0.6686 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4498, allocations: 3.938 kB / 0.6686 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002653/0.4501, allocations: 110.4 kB / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4501, allocations: 5.75 kB / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4501, allocations: 0 / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4502, allocations: 0 / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4503, allocations: 23 kB / 0.6687 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4503, allocations: 3.938 kB / 0.6687 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.4504, allocations: 14.7 kB / 0.6687 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4504, allocations: 1.344 kB / 0.6687 GB, free: 4 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 5.215e-05/0.4504, allocations: 117.5 kB / 0.6689 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.4505, allocations: 10.91 kB / 0.6689 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.4508, allocations: 126.4 kB / 0.669 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4508, allocations: 0 / 0.669 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4508, allocations: 0 / 0.669 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4508, allocations: 1.312 kB / 0.669 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.4509, allocations: 183.5 kB / 0.6692 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4509, allocations: 0 / 0.6692 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.451, allocations: 15.17 kB / 0.6692 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.451, allocations: 0 / 0.6692 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.451, allocations: 5.359 kB / 0.6692 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.451, allocations: 4 kB / 0.6692 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.451, allocations: 4 kB / 0.6692 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.4514, allocations: 209.5 kB / 0.6694 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.4514, allocations: 82.62 kB / 0.6695 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.4514, allocations: 1.625 kB / 0.6695 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4515, allocations: 14.17 kB / 0.6695 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.4516, allocations: 2.406 kB / 0.6695 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4516, allocations: 4 kB / 0.6695 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.4516, allocations: 103.7 kB / 0.6696 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4516, allocations: 1.219 kB / 0.6696 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002208/0.4519, allocations: 13.44 kB / 0.6696 GB, free: 3.18 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.0001271/0.452, allocations: 97.7 kB / 0.6697 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.4523, allocations: 83.7 kB / 0.6698 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4523, allocations: 0 / 0.6698 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.4525, allocations: 44.48 kB / 0.6698 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.4527, allocations: 10.59 kB / 0.6698 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.453, allocations: 164 kB / 0.67 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.4532, allocations: 0.6825 MB / 0.6707 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.4532, allocations: 2.312 kB / 0.6707 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.4532, allocations: 9.688 kB / 0.6707 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.4532, allocations: 0 / 0.6707 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.002777/0.456, allocations: 0.7979 MB / 0.6714 GB, free: 1.762 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)