Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM.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.001279/0.001279, allocations: 77.95 kB / 20.67 MB, free: 3.836 MB / 18.57 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.0009467/0.0009467, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9242/0.9242, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo): time 0.005371/0.005371, allocations: 1.315 MB / 262.4 MB, free: 11.59 MB / 250.7 MB " [Timeout remaining time 180] Using package BikeTrailer with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/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(BikeTrailer.Examples.TestTrailerDCPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=840000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM") translateModel(BikeTrailer.Examples.TestTrailerDCPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=840000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 332.5 MB, free: 2.898 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.772e-05, allocations: 2.312 kB / 332.5 MB, free: 2.895 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerDCPM): time 0.007536/0.007553, allocations: 8.549 MB / 341.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.01207, allocations: 4.189 MB / 345.2 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006037/0.01267, allocations: 59.56 kB / 345.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.0138, allocations: 0.6396 MB / 345.9 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000808/0.01461, allocations: 0.6242 MB / 346.6 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000948/0.01555, allocations: 0.9359 MB / 347.5 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.01711, allocations: 2.533 MB / 350 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007075/0.01782, allocations: 0.6582 MB / 350.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.01886, allocations: 1.372 MB / 352.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.01945, allocations: 0.6853 MB / 352.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.01965, allocations: 252 kB / 353 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.01993, allocations: 315.8 kB / 353.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.02024, allocations: 0.5878 MB / 353.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.02071, allocations: 0.7285 MB / 354.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.02209, allocations: 1.736 MB / 356.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.0221, allocations: 0 / 356.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.0221, allocations: 0 / 356.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.02211, allocations: 0 / 356.4 MB, free: 10.89 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.002444/0.02456, allocations: 2.628 MB / 359 MB, free: 8.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.0246, allocations: 8.031 kB / 359 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.02504, allocations: 395.2 kB / 359.4 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.0262, allocations: 1.276 MB / 360.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.175e-05/0.02627, allocations: 119.5 kB / 360.8 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.02645, allocations: 176.5 kB / 360.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.0277, allocations: 1.432 MB / 362.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.02774, allocations: 7.953 kB / 362.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.02782, allocations: 64 kB / 362.4 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.02785, allocations: 47.98 kB / 362.5 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.02845, allocations: 476.4 kB / 363 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004677/0.03313, allocations: 5.897 MB / 368.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.03385, allocations: 0.5485 MB / 369.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.03408, allocations: 187.9 kB / 369.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.03412, allocations: 25 kB / 369.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003967/0.03451, allocations: 0.4901 MB / 370.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=94): time 2.185e-06/0.03452, allocations: 0 / 370.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.002672/0.03719, allocations: 2.044 MB / 372.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.03728, allocations: 218.6 kB / 372.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.03836, allocations: 1.397 MB / 373.8 MB, free: 8.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.03841, allocations: 49.7 kB / 373.8 MB, free: 8.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.03906, allocations: 1.062 MB / 374.9 MB, free: 7.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.03928, allocations: 392.6 kB / 375.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.03951, allocations: 228.4 kB / 375.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.03968, allocations: 0.5237 MB / 376 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.03987, allocations: 144.8 kB / 376.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.04038, allocations: 0.7491 MB / 376.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.04104, allocations: 0.7491 MB / 377.6 MB, free: 4.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.04104, allocations: 4 kB / 377.6 MB, free: 4.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.0008738/0.04191, allocations: 0.8863 MB / 378.5 MB, free: 3.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.04193, allocations: 23.73 kB / 378.5 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.04194, allocations: 8 kB / 378.6 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.04196, allocations: 16 kB / 378.6 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.04252, allocations: 283.6 kB / 378.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.04254, allocations: 23.92 kB / 378.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.04286, allocations: 55.97 kB / 378.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.04291, allocations: 36 kB / 379 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003349/0.04324, allocations: 277.4 kB / 379.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004338/0.04368, allocations: 0.7374 MB / 380 MB, free: 1.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005609/0.04424, allocations: 0.7374 MB / 380.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.04424, allocations: 7.938 kB / 380.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.0008089/0.04505, allocations: 0.864 MB / 381.6 MB, free: 160 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.04506, allocations: 8 kB / 381.6 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.04507, allocations: 19.88 kB / 381.6 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.04508, allocations: 16.03 kB / 381.6 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.04557, allocations: 259.6 kB / 381.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.04559, allocations: 23.92 kB / 381.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.0459, allocations: 63.91 kB / 382 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.04594, allocations: 40 kB / 382 MB, free: 15.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.track.nextTimeEvent,$whenCondition1,trailer.energyBike.local_reset,trailer.energyDrive.local_reset,PID.I.local_reset,dcpmDrive.dcdcConverter.integralController.local_reset,dcpmDrive.dcdcConverter.EBat.local_reset,dcpmDrive.battery.soc.local_reset,dcpmDrive.limitedPI.integrator.local_reset,track.nextTimeEventScaled,$PRE.track.nextTimeEventScaled,track.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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 0.0001725/0.04612, allocations: 353.7 kB / 382.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.04628, allocations: 214.8 kB / 382.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007295/0.04701, allocations: 0.66 MB / 383.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.04702, allocations: 7.984 kB / 383.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.04702, allocations: 0 / 383.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.0473, allocations: 266.7 kB / 383.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.0474, allocations: 24 kB / 383.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.04767, allocations: 51.97 kB / 383.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.04775, allocations: 60.88 kB / 383.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009537/0.0487, allocations: 0.7473 MB / 384.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009902/0.04969, allocations: 1.14 MB / 385.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002245/0.04992, allocations: 241.4 kB / 385.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005523/0.05047, allocations: 0.7821 MB / 386.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Backend: time 3.61e-07/0.05047, allocations: 0 / 386.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.05236, allocations: 1.211 MB / 387.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 0.004188/0.05655, allocations: 4.207 MB / 391.9 MB, free: 5.828 MB / 362.7 MB Notification: Performance of Templates: time 0.03178/0.08833, allocations: 25.11 MB / 417 MB, free: 13 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM.makefile [Timeout 660] (rm -f BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM.pipe ; mkfifo BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM.pipe ; head -c 1048576 < BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM.pipe >> ../files/BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM.sim & ./BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM -abortSlowSimulation -alarm=240 -lv LOG_STATS > BikeTrailer_BikeTrailer.Examples.TestTrailerDCPM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.455611008219421]