Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005255/0.005255, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001362/0.001362, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.813/0.813, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 68.84 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1636, allocations: 80.22 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.00305/0.1667, allocations: 1.423 MB / 0.6606 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.1676, allocations: 383.4 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.1677, allocations: 4 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.1677, allocations: 0 / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.1678, allocations: 7.922 kB / 0.661 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1683, allocations: 111.7 kB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.685e-05/0.1683, allocations: 19.94 kB / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1685, allocations: 15.97 kB / 0.6611 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.1685, allocations: 11.94 kB / 0.6611 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.1686, allocations: 11.98 kB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1686, allocations: 4 kB / 0.6611 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.169, allocations: 283.6 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.872e-05/0.1691, allocations: 3.984 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.1691, allocations: 7.938 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.1693, allocations: 111.9 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1693, allocations: 3.938 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1693, allocations: 0 / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1694, allocations: 4 kB / 0.6615 GB, free: 8.344 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.0005028/0.1699, allocations: 363.1 kB / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1699, allocations: 12.03 kB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.17, allocations: 30.75 kB / 0.6619 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.17, allocations: 12.89 kB / 0.6619 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1702, allocations: 168.4 kB / 0.6621 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1702, allocations: 384 / 0.6621 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1702, allocations: 4.375 kB / 0.6621 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1704, allocations: 50.23 kB / 0.6621 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1704, allocations: 7.938 kB / 0.6622 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1704, allocations: 0 / 0.6622 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1704, allocations: 0 / 0.6622 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1706, allocations: 35.91 kB / 0.6622 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.171, allocations: 253 kB / 0.6624 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1711, allocations: 42.5 kB / 0.6625 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1712, allocations: 28.89 kB / 0.6625 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.1719, allocations: 457.5 kB / 0.6629 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.172, allocations: 30.56 kB / 0.663 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 4.218e-06/0.172, allocations: 4 kB / 0.663 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004479/0.1724, allocations: 93.47 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1725, allocations: 51.41 kB / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1726, allocations: 110 kB / 0.6632 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1726, allocations: 25.7 kB / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.1727, allocations: 80.14 kB / 0.6633 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.1727, allocations: 7.953 kB / 0.6633 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1728, allocations: 13.72 kB / 0.6633 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1729, allocations: 314.8 kB / 0.6636 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1731, allocations: 19.98 kB / 0.6636 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1732, allocations: 15.98 kB / 0.6637 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1734, allocations: 48.75 kB / 0.6637 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1734, allocations: 3.938 kB / 0.6637 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002924/0.1737, allocations: 61.67 kB / 0.6638 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1737, allocations: 4 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1738, allocations: 4.094 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1738, allocations: 0 / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1739, allocations: 11.98 kB / 0.6638 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1739, allocations: 0 / 0.6638 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.174, allocations: 7.984 kB / 0.6638 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.174, allocations: 0 / 0.6638 GB, free: 5.691 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 0.0001047/0.1741, allocations: 118.7 kB / 0.6639 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.1742, allocations: 3.938 kB / 0.6639 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.1745, allocations: 85.08 kB / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1745, allocations: 0 / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1745, allocations: 256 / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1745, allocations: 3.984 kB / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.1748, allocations: 169.5 kB / 0.6642 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1748, allocations: 0 / 0.6642 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.1749, allocations: 7.984 kB / 0.6642 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1749, allocations: 0 / 0.6642 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1749, allocations: 8.031 kB / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1749, allocations: 0 / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1749, allocations: 0 / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.1753, allocations: 167.4 kB / 0.6643 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1754, allocations: 77.11 kB / 0.6644 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1754, allocations: 0 / 0.6644 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1755, allocations: 15.95 kB / 0.6644 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.1756, allocations: 7.984 kB / 0.6644 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1756, allocations: 0 / 0.6644 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.1756, allocations: 87.27 kB / 0.6645 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1757, allocations: 0 / 0.6645 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003386/0.176, allocations: 12 kB / 0.6645 GB, free: 4.836 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 (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.0007635/0.1768, allocations: 0.7084 MB / 0.6652 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1771, allocations: 43.89 kB / 0.6653 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1771, allocations: 0 / 0.6653 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1772, allocations: 24.08 kB / 0.6653 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1776, allocations: 1.719 kB / 0.6653 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.1782, allocations: 147.1 kB / 0.6654 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1786, allocations: 0.6768 MB / 0.6661 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.1786, allocations: 0 / 0.6661 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1787, allocations: 11.44 kB / 0.6661 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1787, allocations: 0 / 0.6661 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.2055, allocations: 1.586 MB / 0.6676 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.074, allocations: 12.97 kB / 0.6677 GB, free: 1.625 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)