Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009955/0.0009956, allocations: 115.6 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 212 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3172, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00328/0.3206, allocations: 1.641 MB / 0.5333 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3218, allocations: 0.5868 MB / 0.5338 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3219, allocations: 1.375 kB / 0.5338 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.3221, allocations: 21.19 kB / 0.5338 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.3221, allocations: 9.25 kB / 0.5339 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3225, allocations: 84.44 kB / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.3228, allocations: 121 kB / 0.5341 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3229, allocations: 24.2 kB / 0.5341 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.323, allocations: 48.97 kB / 0.5341 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.275e-05/0.3231, allocations: 40.3 kB / 0.5342 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.3231, allocations: 7.562 kB / 0.5342 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.3232, allocations: 8.594 kB / 0.5342 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.3232, allocations: 26.41 kB / 0.5342 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.3233, allocations: 40.48 kB / 0.5342 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3234, allocations: 90.34 kB / 0.5343 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3235, allocations: 0 / 0.5343 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3235, allocations: 0 / 0.5343 GB, free: 11.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3235, allocations: 1.188 kB / 0.5343 GB, free: 11.71 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006969/0.3242, allocations: 412.2 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3242, allocations: 8.344 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.3243, allocations: 14.3 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.3247, allocations: 205.8 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3247, allocations: 8.219 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.3247, allocations: 4.906 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.325, allocations: 104.7 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.325, allocations: 5.109 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3251, allocations: 4 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3251, allocations: 2.375 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3252, allocations: 48.55 kB / 0.5351 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.326, allocations: 392.3 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.3264, allocations: 107.7 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3265, allocations: 35.39 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3265, allocations: 1.062 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.3268, allocations: 96.52 kB / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.3268, allocations: 0 / 0.5357 GB, free: 10.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005029/0.3273, allocations: 143.1 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3273, allocations: 60.66 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3275, allocations: 150.2 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3275, allocations: 35.02 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.3276, allocations: 104.2 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.3276, allocations: 14.64 kB / 0.5362 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.3277, allocations: 33.95 kB / 0.5362 GB, free: 9.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3279, allocations: 320.2 kB / 0.5365 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.328, allocations: 37.97 kB / 0.5366 GB, free: 9.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3281, allocations: 49.56 kB / 0.5366 GB, free: 9.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3284, allocations: 75.69 kB / 0.5367 GB, free: 9.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3284, allocations: 5.5 kB / 0.5367 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003008/0.3287, allocations: 124.6 kB / 0.5368 GB, free: 9.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3287, allocations: 5.375 kB / 0.5368 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3287, allocations: 4.906 kB / 0.5368 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3287, allocations: 1.188 kB / 0.5368 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3288, allocations: 14.98 kB / 0.5368 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3289, allocations: 1.062 kB / 0.5368 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.329, allocations: 18.36 kB / 0.5369 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.329, allocations: 6.25 kB / 0.5369 GB, free: 9.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.012e-05/0.3291, allocations: 130.2 kB / 0.537 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.3291, allocations: 8.281 kB / 0.537 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.3291, allocations: 19.98 kB / 0.537 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3292, allocations: 4.266 kB / 0.537 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3292, allocations: 0 / 0.537 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3292, allocations: 84.39 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3292, allocations: 5.125 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3294, allocations: 26.81 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.3294, allocations: 9.391 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006534/0.3301, allocations: 261.2 kB / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004741/0.3306, allocations: 332.5 kB / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001213/0.3307, allocations: 39.5 kB / 0.5377 GB, free: 8.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.368e-05/0.3308, allocations: 114.7 kB / 0.5379 GB, free: 8.656 MB / 398.1 MB Notification: Performance of Backend: time 1.8e-07/0.3308, allocations: 64 / 0.5379 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.3313, allocations: 132.1 kB / 0.538 GB, free: 8.562 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008803/0.3322, allocations: 0.6369 MB / 0.5386 GB, free: 7.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004793/0.337, allocations: 1.427 MB / 0.54 GB, free: 7.203 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1)