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.006089/0.006089, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001255/0.001255, allocations: 190 kB / 16.67 MB, free: 5.977 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.944/0.944, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.91 kB / 0.5856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4118, allocations: 80.91 MB / 0.6646 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002204/0.414, allocations: 1.439 MB / 0.6661 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005833/0.4146, allocations: 381.5 kB / 0.6664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.4147, allocations: 0 / 0.6664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.4147, allocations: 3.938 kB / 0.6664 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.074e-05/0.4148, allocations: 1.312 kB / 0.6664 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.4151, allocations: 123.1 kB / 0.6665 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.4152, allocations: 18.67 kB / 0.6666 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.4153, allocations: 14.64 kB / 0.6666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.4153, allocations: 7.969 kB / 0.6666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.535e-05/0.4154, allocations: 14.64 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.4154, allocations: 2.719 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.4157, allocations: 279.7 kB / 0.6669 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.4157, allocations: 5.062 kB / 0.6669 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.4158, allocations: 14.47 kB / 0.6669 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.4159, allocations: 107.8 kB / 0.667 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4159, allocations: 0 / 0.667 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4159, allocations: 0 / 0.667 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.4159, allocations: 0 / 0.667 GB, free: 5.793 MB / 0.4981 GB 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.0003645/0.4163, allocations: 367.7 kB / 0.6673 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.4164, allocations: 9.438 kB / 0.6673 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.4164, allocations: 2.406 kB / 0.6673 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.746e-05/0.4165, allocations: 165.9 kB / 0.6675 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.4165, allocations: 5.5 kB / 0.6675 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-06/0.4165, allocations: 1.562 kB / 0.6675 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4167, allocations: 50.58 kB / 0.6676 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4167, allocations: 192 / 0.6676 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.4167, allocations: 7.875 kB / 0.6676 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4167, allocations: 1.188 kB / 0.6676 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.4168, allocations: 34.84 kB / 0.6676 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.4171, allocations: 258.2 kB / 0.6678 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.4172, allocations: 39.84 kB / 0.6679 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.4173, allocations: 22.52 kB / 0.6679 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.4179, allocations: 459.5 kB / 0.6683 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.4179, allocations: 39.75 kB / 0.6684 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.4179, allocations: 0 / 0.6684 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003278/0.4182, allocations: 86.17 kB / 0.6685 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.4182, allocations: 52.88 kB / 0.6685 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.4183, allocations: 104.6 kB / 0.6686 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.4183, allocations: 25.7 kB / 0.6686 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.4183, allocations: 86.02 kB / 0.6687 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.4184, allocations: 7.047 kB / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.4184, allocations: 12.38 kB / 0.6687 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.938e-05/0.4184, allocations: 323 kB / 0.669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.4185, allocations: 14.27 kB / 0.6691 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.4186, allocations: 17.86 kB / 0.6691 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.4187, allocations: 43.12 kB / 0.6691 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4187, allocations: 1.438 kB / 0.6691 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.4189, allocations: 69.42 kB / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4189, allocations: 4.938 kB / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4189, allocations: 0 / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4189, allocations: 1.062 kB / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.419, allocations: 10.39 kB / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.419, allocations: 0 / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.4191, allocations: 8.391 kB / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.4191, allocations: 4.031 kB / 0.6692 GB, free: 3.461 MB / 0.4981 GB 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.126e-05/0.4191, allocations: 115.3 kB / 0.6693 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.4192, allocations: 6.25 kB / 0.6693 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.4194, allocations: 75.88 kB / 0.6694 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4194, allocations: 5.094 kB / 0.6694 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4194, allocations: 3.984 kB / 0.6694 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4194, allocations: 5.109 kB / 0.6694 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.4195, allocations: 163.2 kB / 0.6696 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4195, allocations: 3.938 kB / 0.6696 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.4196, allocations: 10.05 kB / 0.6696 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4196, allocations: 0 / 0.6696 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.4196, allocations: 1.5 kB / 0.6696 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4196, allocations: 3.984 kB / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4196, allocations: 0 / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.4198, allocations: 173.2 kB / 0.6698 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.4198, allocations: 78.3 kB / 0.6698 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.4198, allocations: 0 / 0.6698 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.4199, allocations: 7.703 kB / 0.6698 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.4199, allocations: 1.312 kB / 0.6698 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.4199, allocations: 1.5 kB / 0.6698 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.42, allocations: 87.86 kB / 0.6699 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.42, allocations: 3.938 kB / 0.6699 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002338/0.4202, allocations: 20.28 kB / 0.6699 GB, free: 2.699 MB / 0.4981 GB 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.0001307/0.4203, allocations: 108.9 kB / 0.67 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.4205, allocations: 41.36 kB / 0.6701 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4205, allocations: 0 / 0.6701 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.4206, allocations: 19.64 kB / 0.6701 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.4209, allocations: 13.69 kB / 0.6701 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.4211, allocations: 122.5 kB / 0.6702 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.4212, allocations: 0.6779 MB / 0.6709 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.4212, allocations: 1.406 kB / 0.6709 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.4212, allocations: 8.969 kB / 0.6709 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4212, allocations: 0 / 0.6709 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of Templates: time 0.002471/0.4237, allocations: 0.7037 MB / 0.6716 GB, free: 1.379 MB / 0.4981 GB 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)