Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_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.0008674/0.0008675, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008694/0.0008694, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9474/0.9474, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 19.98 kB / 0.5071 GB, free: 5.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 82.3 MB / 0.5875 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001508/0.1588, allocations: 1.148 MB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000608/0.1594, allocations: 353.7 kB / 0.5889 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.1594, allocations: 4 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.1595, allocations: 3.938 kB / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.1595, allocations: 0 / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1598, allocations: 71.84 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.1599, allocations: 23.92 kB / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.16, allocations: 15.88 kB / 0.589 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.16, allocations: 8 kB / 0.589 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.552e-05/0.16, allocations: 11.91 kB / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1601, allocations: 4 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.1604, allocations: 263.7 kB / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.1604, allocations: 7.984 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.1605, allocations: 29.7 kB / 0.5894 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.1606, allocations: 59.89 kB / 0.5894 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1606, allocations: 3.984 kB / 0.5894 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1606, allocations: 7.938 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.1606, allocations: 0 / 0.5894 GB, free: 0.8438 MB / 494.1 MB 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.0004086/0.161, allocations: 359.5 kB / 0.5898 GB, free: 456 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.1611, allocations: 12.03 kB / 0.5898 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.1611, allocations: 34.56 kB / 0.5898 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.1612, allocations: 0 / 0.5898 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1613, allocations: 178.9 kB / 0.59 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1613, allocations: 0 / 0.59 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1613, allocations: 0 / 0.59 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1615, allocations: 53.69 kB / 0.59 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1615, allocations: 0 / 0.59 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1615, allocations: 3.984 kB / 0.59 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1615, allocations: 4 kB / 0.59 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1617, allocations: 43.97 kB / 0.5901 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.162, allocations: 256.9 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1622, allocations: 46.55 kB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.1622, allocations: 24.91 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.1628, allocations: 469.5 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1629, allocations: 30.56 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1629, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003445/0.1632, allocations: 105.6 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1633, allocations: 51.41 kB / 0.591 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.1633, allocations: 105.8 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1634, allocations: 25.7 kB / 0.5911 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.1634, allocations: 84.14 kB / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.1634, allocations: 15.83 kB / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.1634, allocations: 128 / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.1635, allocations: 318.8 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.1636, allocations: 23.97 kB / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.1637, allocations: 19.98 kB / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.1638, allocations: 28.05 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1638, allocations: 3.938 kB / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.164, allocations: 73.66 kB / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.164, allocations: 11.97 kB / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.164, allocations: 7.938 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.164, allocations: 0 / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.1641, allocations: 11.98 kB / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1641, allocations: 0 / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.1642, allocations: 7.906 kB / 0.5917 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1642, allocations: 4 kB / 0.5917 GB, free: 14.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.1643, allocations: 121.8 kB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1643, allocations: 4 kB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.1645, allocations: 85.44 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1645, allocations: 0 / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1646, allocations: 4.031 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1646, allocations: 0 / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.1647, allocations: 165.6 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1647, allocations: 0 / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.1648, allocations: 11.94 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1648, allocations: 0 / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.1648, allocations: 0 / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1648, allocations: 3.984 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1648, allocations: 0 / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.165, allocations: 179.5 kB / 0.5923 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.1651, allocations: 81.02 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1651, allocations: 0 / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1652, allocations: 12.03 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.1652, allocations: 3.984 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1652, allocations: 0 / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.1653, allocations: 87.28 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1653, allocations: 0 / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002324/0.1655, allocations: 16 kB / 0.5925 GB, free: 13.3 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 (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.0005102/0.166, allocations: 0.7163 MB / 0.5932 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1662, allocations: 48 kB / 0.5932 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1663, allocations: 4 kB / 0.5932 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.1663, allocations: 23.97 kB / 0.5932 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1666, allocations: 12 kB / 0.5933 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.167, allocations: 154.4 kB / 0.5934 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.1672, allocations: 0.677 MB / 0.5941 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.1672, allocations: 4 kB / 0.5941 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.1672, allocations: 11.38 kB / 0.5941 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1672, allocations: 0 / 0.5941 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.1779, allocations: 1.324 MB / 0.5954 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.178, allocations: 179 kB / 0.5955 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.835, allocations: 0 / 0.5955 GB, free: 10.13 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: