Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 106.7 kB / 17.09 MB, free: 6.008 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.001182/0.001182, allocations: 199.3 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1803/0.1803, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 71.84 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09376, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002589/0.0964, allocations: 1.622 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.09735, allocations: 0.5983 MB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.09746, allocations: 8 kB / 0.4907 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.09758, allocations: 11.86 kB / 0.4907 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.09763, allocations: 7.875 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.09797, allocations: 91.75 kB / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.09814, allocations: 111.8 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.09826, allocations: 43.94 kB / 0.491 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.09835, allocations: 47.78 kB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.09842, allocations: 43.83 kB / 0.4911 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.09845, allocations: 8 kB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.09847, allocations: 8 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.09849, allocations: 15.92 kB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.09855, allocations: 47.72 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.09868, allocations: 83.66 kB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09869, allocations: 0 / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.0987, allocations: 0 / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.09871, allocations: 0 / 0.4912 GB, free: 9.074 MB / 382.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.0005532/0.09927, allocations: 426.4 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.09931, allocations: 15.89 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.09935, allocations: 12.84 kB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.09959, allocations: 196.2 kB / 0.4918 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.09961, allocations: 8.375 kB / 0.4918 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.09964, allocations: 16.38 kB / 0.4919 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.09991, allocations: 105.9 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.09993, allocations: 0 / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.09994, allocations: 4 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.09995, allocations: 3.984 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1001, allocations: 51.97 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.1007, allocations: 384.4 kB / 0.4924 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.101, allocations: 110.5 kB / 0.4925 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1012, allocations: 28.92 kB / 0.4925 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1012, allocations: 7.938 kB / 0.4925 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.1014, allocations: 107.2 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.1014, allocations: 0 / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004211/0.1018, allocations: 137.5 kB / 0.4928 GB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.1019, allocations: 59.34 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.102, allocations: 149.7 kB / 0.493 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.102, allocations: 25.7 kB / 0.493 GB, free: 7.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.1021, allocations: 104.1 kB / 0.4931 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1021, allocations: 23.8 kB / 0.4931 GB, free: 6.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1022, allocations: 29.72 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1023, allocations: 326.8 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1024, allocations: 31.97 kB / 0.4935 GB, free: 6.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1025, allocations: 53.62 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.1027, allocations: 73.69 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1027, allocations: 0 / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002777/0.103, allocations: 125.5 kB / 0.4937 GB, free: 6.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.103, allocations: 4 kB / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1031, allocations: 3.938 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1031, allocations: 3.938 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.1032, allocations: 15.98 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1032, allocations: 4.281 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.1033, allocations: 15.98 kB / 0.4938 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1033, allocations: 8 kB / 0.4938 GB, free: 6.223 MB / 382.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 8.802e-05/0.1034, allocations: 121.7 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.1034, allocations: 7.906 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.1035, allocations: 20.66 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1035, allocations: 3.984 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1035, allocations: 0 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.1035, allocations: 88.92 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1035, allocations: 0 / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1037, allocations: 23.97 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.1037, allocations: 11.98 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006039/0.1043, allocations: 256.8 kB / 0.4943 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004456/0.1048, allocations: 334.6 kB / 0.4946 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001202/0.1049, allocations: 36 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.08e-05/0.105, allocations: 112 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of Backend: time 1.513e-06/0.105, allocations: 4.062 kB / 0.4947 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.1054, allocations: 133 kB / 0.4949 GB, free: 5.035 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005802/0.106, allocations: 0.6525 MB / 0.4955 GB, free: 4.336 MB / 382.1 MB Notification: Performance of Templates: time 0.003737/0.1098, allocations: 1.469 MB / 0.4969 GB, free: 2.867 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1)