Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 84.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.176 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.222/1.222, allocations: 154.8 MB / 414.3 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5199 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.468e-05, allocations: 4.984 kB / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001912/0.001947, allocations: 0.5927 MB / 0.5205 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.002888, allocations: 317.2 kB / 0.5208 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.002917, allocations: 0 / 0.5208 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.002933, allocations: 3.938 kB / 0.5208 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.002969, allocations: 0 / 0.5208 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.003593, allocations: 115.4 kB / 0.5209 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.003674, allocations: 15.98 kB / 0.5209 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.085e-05/0.003745, allocations: 3.984 kB / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.003788, allocations: 4 kB / 0.5209 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.003862, allocations: 0 / 0.5209 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.003879, allocations: 0 / 0.5209 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.004363, allocations: 263.6 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.004389, allocations: 7.984 kB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.004421, allocations: 0.5 kB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.004704, allocations: 116.2 kB / 0.5213 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.004711, allocations: 3.984 kB / 0.5213 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004711, allocations: 0.9688 kB / 0.5213 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.004718, allocations: 0 / 0.5213 GB, free: 0.8359 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005668/0.005284, allocations: 267.8 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.005345, allocations: 12.03 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.005499, allocations: 0.9375 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.00568, allocations: 105.8 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.0057, allocations: 5.312 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.00574, allocations: 8.312 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.005918, allocations: 65.36 kB / 0.5217 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.005931, allocations: 192 / 0.5217 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.005944, allocations: 384 / 0.5217 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005951, allocations: 384 / 0.5217 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.005985, allocations: 9.094 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.006204, allocations: 109.2 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.006283, allocations: 23.25 kB / 0.5219 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.006312, allocations: 8.797 kB / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/0.006974, allocations: 79.05 kB / 0.522 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.007016, allocations: 32.44 kB / 0.522 GB, free: 16 kB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.007017, allocations: 0 / 0.522 GB, free: 16 kB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006476/0.007665, allocations: 173.3 kB / 0.5222 GB, free: 15.81 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.007715, allocations: 57.05 kB / 0.5222 GB, free: 15.75 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.00781, allocations: 97.8 kB / 0.5223 GB, free: 15.64 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.007833, allocations: 25.7 kB / 0.5223 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.007888, allocations: 84.14 kB / 0.5224 GB, free: 15.52 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.007918, allocations: 15.14 kB / 0.5224 GB, free: 15.51 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.007958, allocations: 17.72 kB / 0.5224 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.00815, allocations: 318.8 kB / 0.5228 GB, free: 15.17 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.00817, allocations: 4 kB / 0.5228 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.008209, allocations: 17.72 kB / 0.5228 GB, free: 15.14 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/0.00827, allocations: 29.64 kB / 0.5228 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.008271, allocations: 0 / 0.5228 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001069/0.008378, allocations: 56.42 kB / 0.5229 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.008393, allocations: 4 kB / 0.5229 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.008399, allocations: 0 / 0.5229 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.008425, allocations: 4 kB / 0.5229 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.008501, allocations: 7.984 kB / 0.5229 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.00851, allocations: 3.938 kB / 0.5229 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.008529, allocations: 1.406 kB / 0.5229 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008536, allocations: 4 kB / 0.5229 GB, free: 15.02 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.679e-05/0.008633, allocations: 109.8 kB / 0.523 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.008661, allocations: 4.5 kB / 0.523 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.008819, allocations: 66.41 kB / 0.5231 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.00882, allocations: 3.938 kB / 0.5231 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.008825, allocations: 1.188 kB / 0.5231 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.008833, allocations: 7.938 kB / 0.5231 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.008944, allocations: 97.33 kB / 0.5232 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008945, allocations: 4.5 kB / 0.5232 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.008997, allocations: 10.03 kB / 0.5232 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008999, allocations: 0 / 0.5232 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.009009, allocations: 3.984 kB / 0.5232 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.009013, allocations: 4 kB / 0.5232 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.009014, allocations: 0 / 0.5232 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.009205, allocations: 81.06 kB / 0.5233 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.00921, allocations: 2.438 kB / 0.5233 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.009224, allocations: 4.031 kB / 0.5233 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.009262, allocations: 0 / 0.5233 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.009283, allocations: 3.984 kB / 0.5233 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.00929, allocations: 7.938 kB / 0.5233 GB, free: 14.56 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 7.11e-05/0.009361, allocations: 85.38 kB / 0.5234 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.009361, allocations: 0 / 0.5234 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002213/0.009583, allocations: 23.94 kB / 0.5234 GB, free: 14.45 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002483/0.009831, allocations: 123.2 kB / 0.5235 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.009941, allocations: 21.02 kB / 0.5235 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009942, allocations: 0 / 0.5235 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.009961, allocations: 7.938 kB / 0.5235 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.01012, allocations: 7.906 kB / 0.5235 GB, free: 14.29 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.01043, allocations: 108.7 kB / 0.5236 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.488e-05/0.0105, allocations: 68.91 kB / 0.5237 GB, free: 14.07 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.01054, allocations: 9.266 kB / 0.5237 GB, free: 14.07 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.01057, allocations: 8.5 kB / 0.5237 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of SimCode: time 8.92e-07/0.01057, allocations: 0 / 0.5237 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of Templates: time 0.004178/0.01475, allocations: 0.8986 MB / 0.5246 GB, free: 13.22 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.744107833947055]