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.001549/0.001549, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002016/0.002016, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.367/2.367, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.124/1.124, allocations: 132.3 MB / 423.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006244/0.0006247, allocations: 11.98 kB / 0.5033 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.834, allocations: 81.57 MB / 0.583 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002449/0.8365, allocations: 1.149 MB / 0.5841 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009627/0.8375, allocations: 365.9 kB / 0.5844 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.8376, allocations: 2.062 kB / 0.5844 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.8376, allocations: 4.609 kB / 0.5844 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.8377, allocations: 5.094 kB / 0.5844 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.8382, allocations: 72.39 kB / 0.5845 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.8383, allocations: 15.94 kB / 0.5845 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.8384, allocations: 3.766 kB / 0.5845 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.8384, allocations: 4.859 kB / 0.5845 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.8385, allocations: 14 kB / 0.5845 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.8385, allocations: 5.844 kB / 0.5846 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.8392, allocations: 256.3 kB / 0.5848 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.8392, allocations: 0.6562 kB / 0.5848 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.8393, allocations: 32.52 kB / 0.5848 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.8395, allocations: 68.75 kB / 0.5849 GB, free: 2.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8396, allocations: 1.062 kB / 0.5849 GB, free: 2.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.8396, allocations: 0 / 0.5849 GB, free: 2.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.8396, allocations: 0 / 0.5849 GB, free: 2.594 MB / 430.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.0006536/0.8402, allocations: 365.8 kB / 0.5852 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/0.8403, allocations: 13.12 kB / 0.5853 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.8404, allocations: 32.23 kB / 0.5853 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.8405, allocations: 2.406 kB / 0.5853 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.8406, allocations: 173.7 kB / 0.5855 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.8407, allocations: 1.516 kB / 0.5855 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.8407, allocations: 5.75 kB / 0.5855 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.841, allocations: 57.78 kB / 0.5855 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.841, allocations: 0 / 0.5855 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.841, allocations: 3.938 kB / 0.5855 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.841, allocations: 0.5156 kB / 0.5855 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.8414, allocations: 43.39 kB / 0.5856 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.8418, allocations: 253 kB / 0.5858 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.842, allocations: 41.77 kB / 0.5858 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008905/0.8429, allocations: 468.9 kB / 0.5863 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.8429, allocations: 36.03 kB / 0.5863 GB, free: 1.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.843, allocations: 0 / 0.5863 GB, free: 1.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006549/0.8436, allocations: 100 kB / 0.5864 GB, free: 1.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.8437, allocations: 52.8 kB / 0.5865 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.8438, allocations: 107.9 kB / 0.5866 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.8438, allocations: 30.53 kB / 0.5866 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.8439, allocations: 81.94 kB / 0.5867 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.8439, allocations: 9.25 kB / 0.5867 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.8439, allocations: 0 / 0.5867 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.844, allocations: 313.6 kB / 0.587 GB, free: 456 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.8442, allocations: 23.75 kB / 0.587 GB, free: 452 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.8443, allocations: 23.12 kB / 0.587 GB, free: 448 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.8445, allocations: 23.72 kB / 0.5871 GB, free: 444 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8445, allocations: 3.938 kB / 0.5871 GB, free: 440 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003721/0.8449, allocations: 78.34 kB / 0.5871 GB, free: 400 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.8449, allocations: 7.219 kB / 0.5871 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8449, allocations: 4.891 kB / 0.5871 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.845, allocations: 0.6562 kB / 0.5871 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.8451, allocations: 11.91 kB / 0.5872 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8451, allocations: 0 / 0.5872 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.254e-05/0.8452, allocations: 20.45 kB / 0.5872 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.8453, allocations: 5.453 kB / 0.5872 GB, free: 380 kB / 430.1 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 (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 9.126e-05/0.8454, allocations: 112.4 kB / 0.5873 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.8455, allocations: 6.031 kB / 0.5873 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.8459, allocations: 91.38 kB / 0.5874 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8459, allocations: 0 / 0.5874 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.8459, allocations: 1.609 kB / 0.5874 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.8459, allocations: 0 / 0.5874 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.8462, allocations: 161.3 kB / 0.5875 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.8462, allocations: 0.7812 kB / 0.5875 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.8463, allocations: 11.55 kB / 0.5875 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8463, allocations: 0 / 0.5875 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.8464, allocations: 5.688 kB / 0.5876 GB, free: 0 / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.8464, allocations: 0 / 0.5876 GB, free: 0 / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8464, allocations: 0.8125 kB / 0.5876 GB, free: 0 / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.8469, allocations: 181.4 kB / 0.5877 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.8471, allocations: 83.47 kB / 0.5878 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.8472, allocations: 0.5156 kB / 0.5878 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.8473, allocations: 9.328 kB / 0.5878 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.8474, allocations: 2.062 kB / 0.5878 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.8474, allocations: 1.125 kB / 0.5878 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.044e-05/0.8475, allocations: 89.69 kB / 0.5879 GB, free: 15.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8475, allocations: 0 / 0.5879 GB, free: 15.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004072/0.8479, allocations: 21.25 kB / 0.5879 GB, free: 15.66 MB / 446.1 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 (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.001129/0.8491, allocations: 0.7122 MB / 0.5886 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.8495, allocations: 48.66 kB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8495, allocations: 1.031 kB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.8496, allocations: 30.27 kB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.85, allocations: 1.531 kB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.8507, allocations: 155.4 kB / 0.5888 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.8511, allocations: 0.6796 MB / 0.5895 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.8512, allocations: 6.781 kB / 0.5895 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.8512, allocations: 12.81 kB / 0.5895 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.8513, allocations: 0 / 0.5895 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.8704, allocations: 1.306 MB / 0.5908 GB, free: 13.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/0.8707, allocations: 169.1 kB / 0.591 GB, free: 13.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/3.723, allocations: 0 / 0.591 GB, free: 13.72 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: