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: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005777/0.005777, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7823/0.7823, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 11.94 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4615, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007547/0.4623, allocations: 316.1 kB / 0.584 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007235/0.4631, allocations: 353.7 kB / 0.5843 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.234e-05/0.4631, allocations: 0.7812 kB / 0.5843 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.4631, allocations: 0 / 0.5843 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.4631, allocations: 0 / 0.5843 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.4635, allocations: 75.75 kB / 0.5844 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.638e-05/0.4635, allocations: 1.438 kB / 0.5844 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.4636, allocations: 1.922 kB / 0.5844 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.4636, allocations: 1.094 kB / 0.5844 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.72e-05/0.4636, allocations: 1.234 kB / 0.5844 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.4636, allocations: 0 / 0.5844 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.4641, allocations: 275.7 kB / 0.5847 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.4642, allocations: 0.9062 kB / 0.5847 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.4642, allocations: 33.64 kB / 0.5847 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.4644, allocations: 83.16 kB / 0.5848 GB, free: 3.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4644, allocations: 0.7188 kB / 0.5848 GB, free: 3.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4644, allocations: 0 / 0.5848 GB, free: 3.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.4644, allocations: 0 / 0.5848 GB, free: 3.453 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002635/0.4647, allocations: 334.7 kB / 0.5851 GB, free: 3.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4647, allocations: 9.125 kB / 0.5851 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.4648, allocations: 2.484 kB / 0.5851 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.326e-05/0.4649, allocations: 161.1 kB / 0.5853 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4649, allocations: 6.172 kB / 0.5853 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.4649, allocations: 384 / 0.5853 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.516e-05/0.465, allocations: 32.72 kB / 0.5853 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.465, allocations: 1.188 kB / 0.5853 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.465, allocations: 4.5 kB / 0.5853 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.465, allocations: 0 / 0.5853 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.465, allocations: 2.125 kB / 0.5853 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.4652, allocations: 148.8 kB / 0.5854 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/0.4652, allocations: 21.02 kB / 0.5855 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.4652, allocations: 5.766 kB / 0.5855 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004247/0.4657, allocations: 428.7 kB / 0.5859 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.4657, allocations: 32.52 kB / 0.5859 GB, free: 2.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4657, allocations: 3.938 kB / 0.5859 GB, free: 2.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.4658, allocations: 40.91 kB / 0.586 GB, free: 2.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.4659, allocations: 56.06 kB / 0.586 GB, free: 1.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.635e-05/0.4659, allocations: 89.86 kB / 0.5861 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.4659, allocations: 26.5 kB / 0.5861 GB, free: 1.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.025e-05/0.4659, allocations: 80.8 kB / 0.5862 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.466, allocations: 8.5 kB / 0.5862 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.466, allocations: 11.06 kB / 0.5862 GB, free: 1.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.466, allocations: 311.7 kB / 0.5865 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.4661, allocations: 5.812 kB / 0.5865 GB, free: 1.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-06/0.4661, allocations: 4.844 kB / 0.5865 GB, free: 1.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.241e-05/0.4661, allocations: 8.594 kB / 0.5865 GB, free: 1.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4661, allocations: 0 / 0.5865 GB, free: 1.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.723e-05/0.4662, allocations: 37.14 kB / 0.5866 GB, free: 1.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4662, allocations: 4.625 kB / 0.5866 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4662, allocations: 1.766 kB / 0.5866 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4662, allocations: 3.938 kB / 0.5866 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.079e-05/0.4663, allocations: 5.719 kB / 0.5866 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4663, allocations: 1.531 kB / 0.5866 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-06/0.4663, allocations: 0 / 0.5866 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.4663, allocations: 0.8125 kB / 0.5866 GB, free: 1.391 MB / 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 (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 4.586e-05/0.4663, allocations: 109.4 kB / 0.5867 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.4664, allocations: 0.7812 kB / 0.5867 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.4665, allocations: 48.62 kB / 0.5867 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4665, allocations: 4.562 kB / 0.5867 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4665, allocations: 1 kB / 0.5867 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4665, allocations: 0.9375 kB / 0.5867 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.086e-05/0.4665, allocations: 144.1 kB / 0.5869 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4665, allocations: 0.9688 kB / 0.5869 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.4666, allocations: 1.828 kB / 0.5869 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4666, allocations: 1.188 kB / 0.5869 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.4666, allocations: 4.594 kB / 0.5869 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4666, allocations: 0 / 0.5869 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4666, allocations: 1.688 kB / 0.5869 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.564e-05/0.4667, allocations: 64.8 kB / 0.5869 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.4667, allocations: 83.34 kB / 0.587 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.4667, allocations: 7.875 kB / 0.587 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.4667, allocations: 2.609 kB / 0.587 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.4667, allocations: 0 / 0.587 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.4667, allocations: 0 / 0.587 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.301e-05/0.4668, allocations: 80.08 kB / 0.5871 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4668, allocations: 1.25 kB / 0.5871 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.467, allocations: 12.53 kB / 0.5871 GB, free: 0.7734 MB / 430.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.0001607/0.4671, allocations: 106 kB / 0.5872 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.831e-05/0.4672, allocations: 5.422 kB / 0.5872 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4672, allocations: 0 / 0.5872 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-06/0.4672, allocations: 5.875 kB / 0.5872 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.4674, allocations: 13.81 kB / 0.5873 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001401/0.4675, allocations: 77.36 kB / 0.5873 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.4676, allocations: 0.6709 MB / 0.588 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.4677, allocations: 1.703 kB / 0.588 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.4677, allocations: 8.625 kB / 0.588 GB, free: 15.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4677, allocations: 0 / 0.588 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002544/0.4702, allocations: 437.7 kB / 0.5884 GB, free: 15.81 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)