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.001523/0.001523, allocations: 102.2 kB / 16.27 MB, free: 6 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.001502/0.001502, allocations: 191 kB / 17.2 MB, free: 5.609 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8126/0.8126, allocations: 135.2 MB / 426.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 59.91 kB / 0.506 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3112, allocations: 80.92 MB / 0.5851 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002123/0.3134, allocations: 1.423 MB / 0.5865 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.314, allocations: 383.5 kB / 0.5868 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.314, allocations: 1.406 kB / 0.5868 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.314, allocations: 3.938 kB / 0.5868 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.334e-05/0.3141, allocations: 4.562 kB / 0.5868 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.3144, allocations: 115.6 kB / 0.5869 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.3145, allocations: 29.95 kB / 0.587 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.3146, allocations: 2.469 kB / 0.587 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.3146, allocations: 7.938 kB / 0.587 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.3147, allocations: 17.45 kB / 0.587 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.3147, allocations: 5 kB / 0.587 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.315, allocations: 272.3 kB / 0.5873 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.315, allocations: 9.547 kB / 0.5873 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.315, allocations: 11.41 kB / 0.5873 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3152, allocations: 107.1 kB / 0.5874 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3152, allocations: 1.469 kB / 0.5874 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3152, allocations: 0 / 0.5874 GB, free: 23.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3152, allocations: 1.469 kB / 0.5874 GB, free: 23.82 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.0003428/0.3156, allocations: 361.4 kB / 0.5877 GB, free: 23.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.3156, allocations: 14.33 kB / 0.5877 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.3156, allocations: 7.562 kB / 0.5878 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.417e-05/0.3157, allocations: 170.3 kB / 0.5879 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3157, allocations: 2.406 kB / 0.5879 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.3157, allocations: 1.75 kB / 0.5879 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3159, allocations: 58.22 kB / 0.588 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3159, allocations: 1.469 kB / 0.588 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3159, allocations: 8.781 kB / 0.588 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3159, allocations: 0 / 0.588 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3161, allocations: 33.44 kB / 0.588 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.3163, allocations: 247.1 kB / 0.5882 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3164, allocations: 44.62 kB / 0.5883 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.3165, allocations: 27.83 kB / 0.5883 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.3171, allocations: 454.9 kB / 0.5888 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.3171, allocations: 31.09 kB / 0.5888 GB, free: 22.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3171, allocations: 2.344 kB / 0.5888 GB, free: 22.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003257/0.3174, allocations: 86.92 kB / 0.5889 GB, free: 22.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3175, allocations: 52.72 kB / 0.5889 GB, free: 22.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.51e-05/0.3175, allocations: 106.6 kB / 0.589 GB, free: 22.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-06/0.3175, allocations: 27.33 kB / 0.589 GB, free: 22.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.096e-05/0.3175, allocations: 88.08 kB / 0.5891 GB, free: 21.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.3176, allocations: 5.219 kB / 0.5891 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.3176, allocations: 17.84 kB / 0.5892 GB, free: 21.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.3176, allocations: 316.4 kB / 0.5895 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.3177, allocations: 18.67 kB / 0.5895 GB, free: 21.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.3178, allocations: 15.48 kB / 0.5895 GB, free: 21.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3179, allocations: 39.78 kB / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3179, allocations: 0 / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.3181, allocations: 71.92 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.3181, allocations: 4.375 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3182, allocations: 1.375 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3182, allocations: 0.5625 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.3182, allocations: 15.14 kB / 0.5896 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3183, allocations: 4.469 kB / 0.5896 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.3183, allocations: 13.77 kB / 0.5896 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.3183, allocations: 1.062 kB / 0.5896 GB, free: 21.5 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 3.642e-05/0.3184, allocations: 111.2 kB / 0.5897 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.3184, allocations: 2.844 kB / 0.5897 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.3186, allocations: 73.81 kB / 0.5898 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3186, allocations: 0 / 0.5898 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3186, allocations: 1.562 kB / 0.5898 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3186, allocations: 1.125 kB / 0.5898 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.3187, allocations: 171.5 kB / 0.59 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3187, allocations: 0 / 0.59 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.3188, allocations: 11.58 kB / 0.59 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3188, allocations: 0 / 0.59 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3188, allocations: 5.188 kB / 0.59 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3188, allocations: 4.531 kB / 0.59 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3188, allocations: 0 / 0.59 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.319, allocations: 167.9 kB / 0.5902 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.319, allocations: 77.11 kB / 0.5902 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3191, allocations: 5.031 kB / 0.5902 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.3191, allocations: 11.17 kB / 0.5902 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.3192, allocations: 1.062 kB / 0.5902 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.3192, allocations: 1.125 kB / 0.5902 GB, free: 20.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.13e-05/0.3192, allocations: 85.11 kB / 0.5903 GB, free: 20.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3192, allocations: 0 / 0.5903 GB, free: 20.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.3194, allocations: 15.16 kB / 0.5903 GB, free: 20.77 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.0001183/0.3196, allocations: 111.1 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3198, allocations: 46.33 kB / 0.5905 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3198, allocations: 2.969 kB / 0.5905 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.3199, allocations: 19.64 kB / 0.5905 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.3201, allocations: 9.453 kB / 0.5905 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002104/0.3203, allocations: 129.2 kB / 0.5906 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.833e-05/0.3204, allocations: 0.6828 MB / 0.5913 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.3204, allocations: 11.19 kB / 0.5913 GB, free: 19.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3204, allocations: 0 / 0.5913 GB, free: 19.79 MB / 446.1 MB Notification: Performance of Templates: time 0.001792/0.3222, allocations: 0.7026 MB / 0.592 GB, free: 19.12 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)