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.001575/0.001575, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7232/0.7232, allocations: 130.7 MB / 138.7 MB, free: 3.637 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.0008844/0.0008842, allocations: 91.19 kB / 473.9 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.992e-05, allocations: 11.98 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5749, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.7185, allocations: 112.3 MB / 0.7378 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.7188, allocations: 79.94 kB / 0.7379 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009399/0.7282, allocations: 3.498 MB / 0.7413 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7283, allocations: 0 / 0.7413 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.7283, allocations: 7.938 kB / 0.7413 GB, free: 10.91 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.0005816/0.7289, allocations: 438.7 kB / 0.7417 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7289, allocations: 8.031 kB / 0.7417 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.729, allocations: 23.7 kB / 0.7418 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.7292, allocations: 222.7 kB / 0.742 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.7293, allocations: 4 kB / 0.742 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.7293, allocations: 12 kB / 0.742 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/0.7294, allocations: 39.92 kB / 0.742 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.7296, allocations: 114 kB / 0.7421 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.7296, allocations: 0 / 0.7421 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.7297, allocations: 3.984 kB / 0.7421 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.7297, allocations: 4 kB / 0.7421 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.7306, allocations: 0.7282 MB / 0.7428 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/0.7307, allocations: 30.58 kB / 0.7429 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.7307, allocations: 17.8 kB / 0.7429 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.7307, allocations: 0 / 0.7429 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.7309, allocations: 119 kB / 0.743 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.7309, allocations: 0 / 0.743 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0002229/0.7312, allocations: 98.3 kB / 0.7431 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.7312, allocations: 132.5 kB / 0.7432 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.7314, allocations: 161.7 kB / 0.7434 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.7314, allocations: 25.7 kB / 0.7434 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.7315, allocations: 135.9 kB / 0.7435 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.7315, allocations: 31.55 kB / 0.7436 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.7315, allocations: 3.938 kB / 0.7436 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7317, allocations: 326.8 kB / 0.7439 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.7317, allocations: 24.38 kB / 0.7439 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.7318, allocations: 131 kB / 0.744 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.7319, allocations: 43.94 kB / 0.7441 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7319, allocations: 0 / 0.7441 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002233/0.7321, allocations: 157.2 kB / 0.7442 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.7322, allocations: 5.562 kB / 0.7442 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.7322, allocations: 4 kB / 0.7442 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7322, allocations: 8.5 kB / 0.7442 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.7323, allocations: 35.92 kB / 0.7443 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.7324, allocations: 8 kB / 0.7443 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.7325, allocations: 24.03 kB / 0.7443 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.7325, allocations: 16 kB / 0.7443 GB, free: 7.504 MB / 0.5261 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 () * 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 0.0001131/0.7326, allocations: 121.7 kB / 0.7444 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.7327, allocations: 15.81 kB / 0.7444 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.7327, allocations: 25.83 kB / 0.7445 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.7327, allocations: 0 / 0.7445 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7327, allocations: 4 kB / 0.7445 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7328, allocations: 0 / 0.7445 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.7333, allocations: 474.1 kB / 0.7449 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7333, allocations: 4 kB / 0.7449 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.7335, allocations: 15.98 kB / 0.7449 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.7335, allocations: 4 kB / 0.745 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.7335, allocations: 0 / 0.745 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7335, allocations: 4 kB / 0.745 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7335, allocations: 4.078 kB / 0.745 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.7338, allocations: 349.4 kB / 0.7453 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.7339, allocations: 96.86 kB / 0.7454 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.7339, allocations: 0 / 0.7454 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.7341, allocations: 24.02 kB / 0.7454 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.7341, allocations: 15.94 kB / 0.7454 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.7342, allocations: 4 kB / 0.7454 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.702e-05/0.7342, allocations: 128.3 kB / 0.7455 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7342, allocations: 0 / 0.7455 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003043/0.7346, allocations: 20 kB / 0.7456 GB, free: 6.113 MB / 0.5261 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 () * 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.0001464/0.7347, allocations: 111.2 kB / 0.7457 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.7349, allocations: 83.8 kB / 0.7458 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7349, allocations: 0 / 0.7458 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.7349, allocations: 31.94 kB / 0.7458 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.7354, allocations: 56.62 kB / 0.7458 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.7358, allocations: 253.1 kB / 0.7461 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.7361, allocations: 0.7319 MB / 0.7468 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.439e-05/0.7362, allocations: 17.33 kB / 0.7468 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.7362, allocations: 19.44 kB / 0.7468 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.7362, allocations: 0 / 0.7468 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of Templates: time 0.004034/0.7403, allocations: 1.596 MB / 0.7484 GB, free: 3.18 MB / 0.5261 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)