Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.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/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/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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic") translateModel(IDEAS.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, 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/package.mo): time 0.8701/0.8701, allocations: 132.2 MB / 148.9 MB, free: 12.12 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.448/1.448, allocations: 222.9 MB / 403.4 MB, free: 7.09 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.001043/0.001043, allocations: 106.8 kB / 484.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 59.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1463, allocations: 80.21 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.003262/0.1496, allocations: 1.537 MB / 0.6417 GB, free: 5.207 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003429/0.15, allocations: 112.5 kB / 0.6418 GB, free: 5.094 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.15, allocations: 4 kB / 0.6418 GB, free: 5.09 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.847e-05/0.1501, allocations: 0 / 0.6418 GB, free: 5.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.1502, allocations: 7.922 kB / 0.6418 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.1504, allocations: 19.92 kB / 0.6418 GB, free: 5.062 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.1505, allocations: 47.86 kB / 0.6419 GB, free: 5.016 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1506, allocations: 11.98 kB / 0.6419 GB, free: 5.004 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.1507, allocations: 15.92 kB / 0.6419 GB, free: 4.988 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.1507, allocations: 23.91 kB / 0.6419 GB, free: 4.965 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1507, allocations: 0 / 0.6419 GB, free: 4.965 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1508, allocations: 19.98 kB / 0.6419 GB, free: 4.945 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.1509, allocations: 11.92 kB / 0.6419 GB, free: 4.934 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.1509, allocations: 19.88 kB / 0.642 GB, free: 4.914 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1511, allocations: 51.8 kB / 0.642 GB, free: 4.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1511, allocations: 8 kB / 0.642 GB, free: 4.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1511, allocations: 0 / 0.642 GB, free: 4.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1511, allocations: 0 / 0.642 GB, free: 4.855 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.0006666/0.1518, allocations: 379.5 kB / 0.6424 GB, free: 4.434 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1518, allocations: 8.031 kB / 0.6424 GB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1519, allocations: 8.844 kB / 0.6424 GB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.152, allocations: 181.7 kB / 0.6426 GB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.152, allocations: 4.375 kB / 0.6426 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1521, allocations: 384 / 0.6426 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.1523, allocations: 74.22 kB / 0.6426 GB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1524, allocations: 192 / 0.6426 GB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1524, allocations: 11.92 kB / 0.6427 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1524, allocations: 0 / 0.6427 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.1527, allocations: 75.92 kB / 0.6427 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.153, allocations: 277 kB / 0.643 GB, free: 3.715 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.1533, allocations: 74.41 kB / 0.6431 GB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1534, allocations: 44.91 kB / 0.6431 GB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.1537, allocations: 109.1 kB / 0.6432 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1537, allocations: 34.56 kB / 0.6432 GB, free: 3.418 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1537, allocations: 0 / 0.6432 GB, free: 3.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.000538/0.1543, allocations: 149.4 kB / 0.6434 GB, free: 3.266 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1543, allocations: 51.41 kB / 0.6434 GB, free: 3.203 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.1544, allocations: 133.8 kB / 0.6436 GB, free: 3.062 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1544, allocations: 25.7 kB / 0.6436 GB, free: 3.031 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.1545, allocations: 92.08 kB / 0.6437 GB, free: 2.938 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.1545, allocations: 11.91 kB / 0.6437 GB, free: 2.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1546, allocations: 17.7 kB / 0.6437 GB, free: 2.902 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.1547, allocations: 318.8 kB / 0.644 GB, free: 2.582 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1548, allocations: 35.95 kB / 0.644 GB, free: 2.547 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.155, allocations: 31.97 kB / 0.6441 GB, free: 2.516 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.1552, allocations: 93.03 kB / 0.6442 GB, free: 2.422 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1552, allocations: 3.938 kB / 0.6442 GB, free: 2.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003187/0.1556, allocations: 113.4 kB / 0.6443 GB, free: 2.301 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1556, allocations: 8.562 kB / 0.6443 GB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1556, allocations: 7.984 kB / 0.6443 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1556, allocations: 4 kB / 0.6443 GB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1558, allocations: 15.97 kB / 0.6443 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1558, allocations: 0 / 0.6443 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.1559, allocations: 11.98 kB / 0.6443 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1559, allocations: 4 kB / 0.6443 GB, free: 2.25 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 7.695e-05/0.156, allocations: 115.1 kB / 0.6444 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.156, allocations: 7.906 kB / 0.6444 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.1564, allocations: 129.5 kB / 0.6446 GB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1564, allocations: 3.938 kB / 0.6446 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1564, allocations: 0 / 0.6446 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1564, allocations: 4 kB / 0.6446 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1566, allocations: 177.6 kB / 0.6447 GB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1566, allocations: 0 / 0.6447 GB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.855e-05/0.1567, allocations: 19.98 kB / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1567, allocations: 0 / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1567, allocations: 0 / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1567, allocations: 0 / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1567, allocations: 0 / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.1574, allocations: 0.8068 MB / 0.6455 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.1575, allocations: 81.02 kB / 0.6456 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1575, allocations: 4 kB / 0.6456 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.1577, allocations: 7.984 kB / 0.6456 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.1578, allocations: 11.92 kB / 0.6456 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1578, allocations: 4 kB / 0.6456 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.579e-05/0.1579, allocations: 101.4 kB / 0.6457 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1579, allocations: 0 / 0.6457 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.1582, allocations: 12 kB / 0.6458 GB, free: 0.6367 MB / 442.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.0001561/0.1584, allocations: 99.23 kB / 0.6458 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.1588, allocations: 79.86 kB / 0.6459 GB, free: 460 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1588, allocations: 4 kB / 0.6459 GB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1589, allocations: 39.95 kB / 0.646 GB, free: 416 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1592, allocations: 9.688 kB / 0.646 GB, free: 408 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.1597, allocations: 289.9 kB / 0.6463 GB, free: 80 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1599, allocations: 0.6809 MB / 0.6469 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.972e-05/0.16, allocations: 11.92 kB / 0.6469 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.16, allocations: 7.438 kB / 0.6469 GB, free: 15.36 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.16, allocations: 0 / 0.6469 GB, free: 15.36 MB / 458.7 MB Notification: Performance of Templates: time 0.002811/0.1628, allocations: 0.6729 MB / 0.6476 GB, free: 14.69 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)