Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001034/0.001034, allocations: 193.5 kB / 16.13 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7338/0.7338, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 73.36 kB / 0.5012 GB, free: 9.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 80.2 MB / 0.5795 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001604/0.1523, allocations: 0.6348 MB / 0.5801 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.153, allocations: 356.7 kB / 0.5805 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-06/0.153, allocations: 0 / 0.5805 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.153, allocations: 0 / 0.5805 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.153, allocations: 4 kB / 0.5805 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1533, allocations: 66.61 kB / 0.5805 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.579e-05/0.1534, allocations: 11.98 kB / 0.5806 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.1534, allocations: 0 / 0.5806 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.193e-05/0.1534, allocations: 0 / 0.5806 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.025e-05/0.1535, allocations: 3.938 kB / 0.5806 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.1535, allocations: 4 kB / 0.5806 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.1538, allocations: 271.6 kB / 0.5808 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.1539, allocations: 0 / 0.5808 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.1539, allocations: 0 / 0.5808 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.154, allocations: 83.84 kB / 0.5809 GB, free: 7.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.154, allocations: 0 / 0.5809 GB, free: 7.672 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.154, allocations: 0 / 0.5809 GB, free: 7.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1541, allocations: 4 kB / 0.5809 GB, free: 7.668 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002678/0.1543, allocations: 335.6 kB / 0.5812 GB, free: 7.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1544, allocations: 12.03 kB / 0.5812 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.1544, allocations: 30.75 kB / 0.5813 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.1545, allocations: 4.938 kB / 0.5813 GB, free: 7.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/0.1545, allocations: 160.4 kB / 0.5814 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1546, allocations: 384 / 0.5814 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1546, allocations: 4.312 kB / 0.5814 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.1546, allocations: 30.27 kB / 0.5815 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1547, allocations: 7.938 kB / 0.5815 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.1547, allocations: 0 / 0.5815 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1547, allocations: 0 / 0.5815 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.1547, allocations: 7.984 kB / 0.5815 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.1548, allocations: 149.6 kB / 0.5816 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.1549, allocations: 18.52 kB / 0.5816 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.1549, allocations: 12.89 kB / 0.5816 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.1554, allocations: 425.5 kB / 0.5821 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1554, allocations: 38.55 kB / 0.5821 GB, free: 6.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.1554, allocations: 0 / 0.5821 GB, free: 6.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.1556, allocations: 41.62 kB / 0.5821 GB, free: 6.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1557, allocations: 51.41 kB / 0.5822 GB, free: 6.082 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.182e-05/0.1557, allocations: 93.98 kB / 0.5823 GB, free: 5.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1557, allocations: 25.7 kB / 0.5823 GB, free: 5.949 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.1558, allocations: 80.14 kB / 0.5824 GB, free: 5.867 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1558, allocations: 7.906 kB / 0.5824 GB, free: 5.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1558, allocations: 9.719 kB / 0.5824 GB, free: 5.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.156, allocations: 310.8 kB / 0.5827 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.156, allocations: 3.938 kB / 0.5827 GB, free: 5.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.156, allocations: 8 kB / 0.5827 GB, free: 5.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.1561, allocations: 12.92 kB / 0.5827 GB, free: 5.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1561, allocations: 0 / 0.5827 GB, free: 5.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.332e-05/0.1561, allocations: 33.69 kB / 0.5827 GB, free: 5.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1562, allocations: 4 kB / 0.5827 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1562, allocations: 3.938 kB / 0.5827 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1562, allocations: 0 / 0.5827 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.721e-05/0.1562, allocations: 4 kB / 0.5828 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1562, allocations: 0 / 0.5828 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-06/0.1563, allocations: 0 / 0.5828 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1563, allocations: 4.031 kB / 0.5828 GB, free: 5.449 MB / 494.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 (1): * Single equations (assignments): 1 * 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.682e-05/0.1563, allocations: 113.8 kB / 0.5829 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.1564, allocations: 0 / 0.5829 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.806e-05/0.1565, allocations: 44.75 kB / 0.5829 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1565, allocations: 0 / 0.5829 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1565, allocations: 0 / 0.5829 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1565, allocations: 0 / 0.5829 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.492e-05/0.1566, allocations: 149.7 kB / 0.583 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1566, allocations: 4.031 kB / 0.5831 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.1566, allocations: 0 / 0.5831 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.1566, allocations: 3.938 kB / 0.5831 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1566, allocations: 7.938 kB / 0.5831 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1566, allocations: 4 kB / 0.5831 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1566, allocations: 0 / 0.5831 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.309e-05/0.1567, allocations: 61.06 kB / 0.5831 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.1567, allocations: 85.14 kB / 0.5832 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.1568, allocations: 3.938 kB / 0.5832 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-06/0.1568, allocations: 3.938 kB / 0.5832 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.1568, allocations: 0 / 0.5832 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.1568, allocations: 0 / 0.5832 GB, free: 4.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.54e-05/0.1568, allocations: 75.28 kB / 0.5833 GB, free: 4.797 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1568, allocations: 0 / 0.5833 GB, free: 4.797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002019/0.157, allocations: 12 kB / 0.5833 GB, free: 4.785 MB / 494.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 (1): * Single equations (assignments): 1 * 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.0003852/0.1574, allocations: 0.6087 MB / 0.5839 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.68e-05/0.1575, allocations: 11.98 kB / 0.5839 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1575, allocations: 0 / 0.5839 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.182e-06/0.1575, allocations: 4 kB / 0.5839 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.1576, allocations: 0 / 0.5839 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.1579, allocations: 104.6 kB / 0.584 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.1581, allocations: 0.6809 MB / 0.5847 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.534e-05/0.1581, allocations: 0 / 0.5847 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.1581, allocations: 7.438 kB / 0.5847 GB, free: 3.281 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1581, allocations: 0 / 0.5847 GB, free: 3.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.1772, allocations: 1.047 MB / 0.5857 GB, free: 2.352 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.1775, allocations: 196.7 kB / 0.5859 GB, free: 2.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.781, allocations: 0 / 0.5859 GB, free: 2.102 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)