Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009827/0.009827, allocations: 169.2 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7409/0.7409, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 403.2 MB, free: 6.754 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009781, allocations: 95.94 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003733, allocations: 15.98 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4224, allocations: 81.58 MB / 0.6438 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5773, allocations: 113 MB / 0.7541 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.5776, allocations: 79.95 kB / 0.7542 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009207/0.5868, allocations: 3.538 MB / 0.7576 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5869, allocations: 0 / 0.7576 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5869, allocations: 3.938 kB / 0.7576 GB, free: 3.309 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006171/0.5875, allocations: 463.1 kB / 0.7581 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5876, allocations: 12.03 kB / 0.7581 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.5876, allocations: 19.81 kB / 0.7581 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.5879, allocations: 230.6 kB / 0.7583 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5879, allocations: 8 kB / 0.7583 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.588, allocations: 16 kB / 0.7584 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.5883, allocations: 141.9 kB / 0.7585 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5883, allocations: 0 / 0.7585 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.5883, allocations: 4 kB / 0.7585 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5883, allocations: 8 kB / 0.7585 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.5885, allocations: 87.77 kB / 0.7586 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.5895, allocations: 0.7551 MB / 0.7593 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.5896, allocations: 58.53 kB / 0.7594 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.5896, allocations: 3.984 kB / 0.7594 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.5899, allocations: 134.6 kB / 0.7595 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.5899, allocations: 0 / 0.7595 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0004722/0.5904, allocations: 182.1 kB / 0.7597 GB, free: 1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.5905, allocations: 136.5 kB / 0.7598 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.5906, allocations: 177.9 kB / 0.76 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.5906, allocations: 33.69 kB / 0.76 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.5907, allocations: 135.8 kB / 0.7601 GB, free: 492 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.5908, allocations: 35.75 kB / 0.7602 GB, free: 456 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.5908, allocations: 3.938 kB / 0.7602 GB, free: 452 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5909, allocations: 326.8 kB / 0.7605 GB, free: 116 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.591, allocations: 44.34 kB / 0.7605 GB, free: 68 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.5913, allocations: 151.2 kB / 0.7607 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.5914, allocations: 55.98 kB / 0.7607 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5914, allocations: 4 kB / 0.7607 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003775/0.5918, allocations: 217 kB / 0.7609 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5918, allocations: 8 kB / 0.761 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5918, allocations: 4 kB / 0.761 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5919, allocations: 4.5 kB / 0.761 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.592, allocations: 39.92 kB / 0.761 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.592, allocations: 7.938 kB / 0.761 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.5922, allocations: 35.81 kB / 0.761 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.5922, allocations: 11.95 kB / 0.7611 GB, free: 15.48 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.956e-05/0.5923, allocations: 138.5 kB / 0.7612 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.5923, allocations: 19.81 kB / 0.7612 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.5924, allocations: 21.39 kB / 0.7612 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5924, allocations: 4 kB / 0.7612 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5924, allocations: 0 / 0.7612 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5924, allocations: 3.938 kB / 0.7612 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.5931, allocations: 0.5249 MB / 0.7617 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5931, allocations: 0 / 0.7617 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.5933, allocations: 19.98 kB / 0.7618 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5933, allocations: 0 / 0.7618 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.5933, allocations: 8 kB / 0.7618 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5933, allocations: 4 kB / 0.7618 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5933, allocations: 11.88 kB / 0.7618 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.5938, allocations: 405.4 kB / 0.7622 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.5939, allocations: 96.86 kB / 0.7623 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.5939, allocations: 4.312 kB / 0.7623 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.5941, allocations: 23.98 kB / 0.7623 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.5942, allocations: 12.3 kB / 0.7623 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.5942, allocations: 8 kB / 0.7623 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001003/0.5943, allocations: 144.6 kB / 0.7625 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5943, allocations: 0 / 0.7625 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003109/0.5946, allocations: 31.98 kB / 0.7625 GB, free: 13.89 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001409/0.5948, allocations: 111.2 kB / 0.7626 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.5951, allocations: 128.7 kB / 0.7627 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5951, allocations: 0 / 0.7627 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.5953, allocations: 55.91 kB / 0.7628 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.5957, allocations: 61.95 kB / 0.7628 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.5962, allocations: 390.9 kB / 0.7632 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.5965, allocations: 0.7245 MB / 0.7639 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.973e-05/0.5966, allocations: 21.55 kB / 0.7639 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.5966, allocations: 15.44 kB / 0.7639 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5966, allocations: 0 / 0.7639 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of Templates: time 0.00407/0.6007, allocations: 1.732 MB / 0.7656 GB, free: 10.62 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)