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: translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001294/0.001294, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8547/0.8547, allocations: 135.2 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3489, allocations: 80.91 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002351/0.3513, allocations: 1.43 MB / 0.5864 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006105/0.3519, allocations: 385.1 kB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.352, allocations: 0.7812 kB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.352, allocations: 3.938 kB / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.352, allocations: 2.062 kB / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.3525, allocations: 123.9 kB / 0.5869 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.3525, allocations: 26.59 kB / 0.587 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.3526, allocations: 9.25 kB / 0.587 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.3527, allocations: 10.67 kB / 0.587 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.3527, allocations: 12.38 kB / 0.587 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3528, allocations: 2.375 kB / 0.587 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.3531, allocations: 280.7 kB / 0.5873 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.3531, allocations: 1.219 kB / 0.5873 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.3531, allocations: 10.69 kB / 0.5873 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.3533, allocations: 106.9 kB / 0.5874 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3533, allocations: 2.031 kB / 0.5874 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3533, allocations: 1.031 kB / 0.5874 GB, free: 23.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3534, allocations: 0 / 0.5874 GB, free: 23.54 MB / 446.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.0004326/0.3538, allocations: 365.6 kB / 0.5877 GB, free: 23.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3539, allocations: 14.69 kB / 0.5877 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.3539, allocations: 10 kB / 0.5877 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.354, allocations: 165.7 kB / 0.5879 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.354, allocations: 384 / 0.5879 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.354, allocations: 5.656 kB / 0.5879 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3542, allocations: 49.92 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3542, allocations: 1.781 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3543, allocations: 3.938 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3543, allocations: 2.438 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.3544, allocations: 38.8 kB / 0.588 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.3547, allocations: 243.8 kB / 0.5882 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3548, allocations: 44.64 kB / 0.5883 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.3549, allocations: 24.47 kB / 0.5883 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/0.3555, allocations: 455.6 kB / 0.5887 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3556, allocations: 34.5 kB / 0.5888 GB, free: 22.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.3556, allocations: 1.219 kB / 0.5888 GB, free: 22.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003819/0.356, allocations: 87.77 kB / 0.5889 GB, free: 21.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.356, allocations: 52.78 kB / 0.5889 GB, free: 21.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.3561, allocations: 105.6 kB / 0.589 GB, free: 21.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.854e-06/0.3561, allocations: 29.7 kB / 0.589 GB, free: 21.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.3561, allocations: 83.45 kB / 0.5891 GB, free: 21.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.3561, allocations: 4.562 kB / 0.5891 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.3562, allocations: 20.39 kB / 0.5891 GB, free: 21.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.3562, allocations: 319.4 kB / 0.5894 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.3563, allocations: 18.02 kB / 0.5895 GB, free: 21.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.3564, allocations: 13.14 kB / 0.5895 GB, free: 21.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3566, allocations: 44.5 kB / 0.5895 GB, free: 21.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3566, allocations: 1.094 kB / 0.5895 GB, free: 21.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.3568, allocations: 78.23 kB / 0.5896 GB, free: 21.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3568, allocations: 5.844 kB / 0.5896 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3568, allocations: 1.406 kB / 0.5896 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3568, allocations: 0.625 kB / 0.5896 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.3569, allocations: 16.44 kB / 0.5896 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3569, allocations: 0 / 0.5896 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.357, allocations: 7.922 kB / 0.5896 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.357, allocations: 0 / 0.5896 GB, free: 21.21 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.357, allocations: 112.9 kB / 0.5897 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.3571, allocations: 1.875 kB / 0.5897 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.3573, allocations: 83.3 kB / 0.5898 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3573, allocations: 0 / 0.5898 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3573, allocations: 1.125 kB / 0.5898 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3574, allocations: 0 / 0.5898 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.3575, allocations: 159.6 kB / 0.59 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3575, allocations: 1.406 kB / 0.59 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.3575, allocations: 14.27 kB / 0.59 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3575, allocations: 3.531 kB / 0.59 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3576, allocations: 0 / 0.59 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3576, allocations: 1.5 kB / 0.59 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3576, allocations: 0 / 0.59 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3578, allocations: 169.1 kB / 0.5901 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.3578, allocations: 77.11 kB / 0.5902 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3578, allocations: 10.05 kB / 0.5902 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3579, allocations: 4.688 kB / 0.5902 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.3579, allocations: 1.312 kB / 0.5902 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.358, allocations: 5.391 kB / 0.5902 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.327e-05/0.358, allocations: 84.47 kB / 0.5903 GB, free: 20.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.358, allocations: 1.344 kB / 0.5903 GB, free: 20.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.3582, allocations: 15.62 kB / 0.5903 GB, free: 20.48 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 (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.0001537/0.3584, allocations: 117.4 kB / 0.5904 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3586, allocations: 34.88 kB / 0.5905 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3586, allocations: 0 / 0.5905 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.3587, allocations: 28.59 kB / 0.5905 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.359, allocations: 7.969 kB / 0.5905 GB, free: 20.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.3592, allocations: 133.6 kB / 0.5906 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.247e-05/0.3594, allocations: 0.6785 MB / 0.5913 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.3594, allocations: 12.77 kB / 0.5913 GB, free: 19.5 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3594, allocations: 0 / 0.5913 GB, free: 19.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002162/0.3615, allocations: 0.7063 MB / 0.592 GB, free: 18.98 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)