Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001028/0.001028, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8116/0.8116, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.45 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1418, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002513/0.1443, allocations: 1.45 MB / 0.6667 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.1453, allocations: 0.5657 MB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.1453, allocations: 0 / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.1454, allocations: 3.938 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.1454, allocations: 3.938 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1457, allocations: 55.81 kB / 0.6673 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.717e-05/0.1458, allocations: 27.88 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.1459, allocations: 7.984 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.146, allocations: 8 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.1461, allocations: 27.84 kB / 0.6674 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1461, allocations: 4 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1462, allocations: 51.95 kB / 0.6675 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1462, allocations: 7.938 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.1462, allocations: 7.938 kB / 0.6675 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1464, allocations: 63.86 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1464, allocations: 3.938 kB / 0.6675 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1464, allocations: 0 / 0.6675 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.1464, allocations: 3.984 kB / 0.6675 GB, free: 3.48 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003904/0.1468, allocations: 347.4 kB / 0.6679 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1469, allocations: 9.109 kB / 0.6679 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.1469, allocations: 8.938 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.147, allocations: 172.2 kB / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.147, allocations: 384 / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.147, allocations: 4.375 kB / 0.6681 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1472, allocations: 46 kB / 0.6681 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1472, allocations: 3.938 kB / 0.6681 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1472, allocations: 0 / 0.6681 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1472, allocations: 0 / 0.6681 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/0.1473, allocations: 23.98 kB / 0.6681 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.1476, allocations: 256.8 kB / 0.6684 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/0.1477, allocations: 34.56 kB / 0.6684 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.1478, allocations: 12.92 kB / 0.6684 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007877/0.1486, allocations: 477.4 kB / 0.6689 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1486, allocations: 34.56 kB / 0.6689 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.1486, allocations: 0 / 0.6689 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002366/0.1489, allocations: 69.61 kB / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1489, allocations: 55.44 kB / 0.669 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.149, allocations: 105.8 kB / 0.6691 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.149, allocations: 33.7 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.1491, allocations: 80.14 kB / 0.6692 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1491, allocations: 3.906 kB / 0.6692 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.1491, allocations: 17.72 kB / 0.6693 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.1492, allocations: 314.8 kB / 0.6696 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-05/0.1493, allocations: 16 kB / 0.6696 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.1493, allocations: 7.984 kB / 0.6696 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.1494, allocations: 28.78 kB / 0.6696 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1494, allocations: 0 / 0.6696 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.1495, allocations: 57.62 kB / 0.6697 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1495, allocations: 8 kB / 0.6697 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1496, allocations: 0 / 0.6697 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1496, allocations: 4.094 kB / 0.6697 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.1496, allocations: 15.91 kB / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1497, allocations: 0 / 0.6697 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.1497, allocations: 4 kB / 0.6697 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1497, allocations: 0 / 0.6697 GB, free: 0.9609 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 (2): * Single equations (assignments): 2 * 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 6.501e-05/0.1498, allocations: 109.8 kB / 0.6698 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1498, allocations: 11.91 kB / 0.6698 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.15, allocations: 69.14 kB / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.15, allocations: 0 / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.15, allocations: 0 / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.15, allocations: 0 / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1502, allocations: 169.5 kB / 0.67 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1502, allocations: 0 / 0.67 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.1502, allocations: 4 kB / 0.67 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1502, allocations: 3.984 kB / 0.6701 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1502, allocations: 0 / 0.6701 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1502, allocations: 0 / 0.6701 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1503, allocations: 4 kB / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.1504, allocations: 151.5 kB / 0.6702 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.1505, allocations: 84.95 kB / 0.6703 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1505, allocations: 3.984 kB / 0.6703 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.123e-05/0.1505, allocations: 4 kB / 0.6703 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1506, allocations: 0 / 0.6703 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1506, allocations: 0 / 0.6703 GB, free: 264 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.1506, allocations: 95.61 kB / 0.6704 GB, free: 168 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1506, allocations: 0 / 0.6704 GB, free: 168 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.1509, allocations: 16 kB / 0.6704 GB, free: 152 kB / 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 (2): * Single equations (assignments): 2 * 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.0001549/0.1511, allocations: 120.5 kB / 0.6705 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1512, allocations: 23.98 kB / 0.6705 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1512, allocations: 0 / 0.6705 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/0.1513, allocations: 11.98 kB / 0.6705 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1515, allocations: 12.06 kB / 0.6706 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.1518, allocations: 148.2 kB / 0.6707 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.152, allocations: 0.6807 MB / 0.6714 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.152, allocations: 7.438 kB / 0.6714 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.152, allocations: 0 / 0.6714 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.002248/0.1543, allocations: 0.8219 MB / 0.6722 GB, free: 14.26 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)