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.007779/0.007779, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001714/0.001714, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9755/0.9755, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.5003, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002313/0.5026, allocations: 1.436 MB / 0.666 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007409/0.5034, allocations: 380.7 kB / 0.6664 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.5035, allocations: 1.375 kB / 0.6664 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.5035, allocations: 7.938 kB / 0.6664 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.5036, allocations: 0 / 0.6664 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.504, allocations: 111.7 kB / 0.6665 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.5041, allocations: 23.36 kB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.5042, allocations: 6.469 kB / 0.6666 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.5042, allocations: 16.08 kB / 0.6666 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.5043, allocations: 10.72 kB / 0.6666 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.5043, allocations: 6.375 kB / 0.6666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.5046, allocations: 283.4 kB / 0.6669 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.5047, allocations: 1.188 kB / 0.6669 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.5047, allocations: 10.47 kB / 0.6669 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.5049, allocations: 103.3 kB / 0.667 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5049, allocations: 1.344 kB / 0.667 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5049, allocations: 0 / 0.667 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5049, allocations: 3.938 kB / 0.667 GB, free: 5.812 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.0003893/0.5053, allocations: 366.2 kB / 0.6673 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5053, allocations: 13.53 kB / 0.6673 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.5054, allocations: 3.844 kB / 0.6673 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/0.5055, allocations: 161.7 kB / 0.6675 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5055, allocations: 9.672 kB / 0.6675 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.5055, allocations: 1.719 kB / 0.6675 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.5057, allocations: 49.67 kB / 0.6675 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5057, allocations: 192 / 0.6675 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.5057, allocations: 7.875 kB / 0.6676 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5057, allocations: 1.219 kB / 0.6676 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.5059, allocations: 43.23 kB / 0.6676 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.5062, allocations: 250.2 kB / 0.6678 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.5063, allocations: 42.58 kB / 0.6679 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.5064, allocations: 27.56 kB / 0.6679 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.507, allocations: 451.8 kB / 0.6683 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.507, allocations: 39.84 kB / 0.6684 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.507, allocations: 4 kB / 0.6684 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003578/0.5074, allocations: 81.27 kB / 0.6685 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.5074, allocations: 52.88 kB / 0.6685 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.25e-05/0.5074, allocations: 108.9 kB / 0.6686 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.5075, allocations: 25.7 kB / 0.6686 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.5075, allocations: 81.73 kB / 0.6687 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.5075, allocations: 15 kB / 0.6687 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.5075, allocations: 16.47 kB / 0.6687 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.5076, allocations: 312 kB / 0.669 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.362e-05/0.5077, allocations: 17.23 kB / 0.6691 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.5078, allocations: 18.03 kB / 0.6691 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.5079, allocations: 47.98 kB / 0.6691 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5079, allocations: 256 / 0.6691 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.5082, allocations: 70.09 kB / 0.6692 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5082, allocations: 5.031 kB / 0.6692 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5082, allocations: 4 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5082, allocations: 1.562 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.5083, allocations: 5.219 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.5083, allocations: 8.016 kB / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.5084, allocations: 4 kB / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.5084, allocations: 1.438 kB / 0.6692 GB, free: 3.469 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 5.045e-05/0.5084, allocations: 114.8 kB / 0.6693 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.5085, allocations: 6.375 kB / 0.6693 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.5087, allocations: 76.73 kB / 0.6694 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5087, allocations: 4.031 kB / 0.6694 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5087, allocations: 3.938 kB / 0.6694 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5087, allocations: 1.344 kB / 0.6694 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.5089, allocations: 161.8 kB / 0.6696 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5089, allocations: 8.922 kB / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.5089, allocations: 5.844 kB / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5089, allocations: 1.344 kB / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.5089, allocations: 0 / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5089, allocations: 0 / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.509, allocations: 1.562 kB / 0.6696 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.5092, allocations: 172.1 kB / 0.6697 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.5092, allocations: 81.09 kB / 0.6698 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.5092, allocations: 1.375 kB / 0.6698 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.5093, allocations: 4.062 kB / 0.6698 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.5093, allocations: 5.203 kB / 0.6698 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.5094, allocations: 4.031 kB / 0.6698 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.46e-05/0.5094, allocations: 84.09 kB / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5094, allocations: 1.188 kB / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002483/0.5096, allocations: 15.62 kB / 0.6699 GB, free: 2.719 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.0001564/0.5098, allocations: 108.8 kB / 0.67 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.51, allocations: 33.81 kB / 0.6701 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.51, allocations: 4.062 kB / 0.6701 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.5101, allocations: 27.34 kB / 0.6701 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.5104, allocations: 10.61 kB / 0.6701 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.5107, allocations: 121 kB / 0.6702 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.5108, allocations: 0.6774 MB / 0.6709 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.5108, allocations: 9.484 kB / 0.6709 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.5108, allocations: 16.97 kB / 0.6709 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5108, allocations: 0 / 0.6709 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of Templates: time 0.002872/0.5137, allocations: 0.6926 MB / 0.6716 GB, free: 1.395 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)