Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.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.001356/0.001356, allocations: 77.86 kB / 20.66 MB, free: 3.84 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.001423/0.001423, allocations: 165 kB / 24.06 MB, free: 460 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 1.034/1.034, allocations: 177.2 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.004969/0.004969, allocations: 1.193 MB / 262.2 MB, free: 11.75 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.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(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 332.4 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.498e-05, allocations: 8.359 kB / 332.4 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.007361/0.007386, allocations: 6.356 MB / 338.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.01055, allocations: 2.079 MB / 340.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007632/0.01131, allocations: 43.69 kB / 340.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.01232, allocations: 393.2 kB / 341.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.01367, allocations: 0.5393 MB / 341.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.01416, allocations: 251.5 kB / 342 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.01608, allocations: 2.07 MB / 344.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.01714, allocations: 0.7646 MB / 344.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.0194, allocations: 1.372 MB / 346.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.02082, allocations: 0.9353 MB / 347.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005085/0.02133, allocations: 224 kB / 347.4 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.0218, allocations: 248 kB / 347.6 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.0222, allocations: 0.592 MB / 348.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.02341, allocations: 0.686 MB / 348.9 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.0253, allocations: 1.628 MB / 350.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.0253, allocations: 0 / 350.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02531, allocations: 0 / 350.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.404e-05/0.02536, allocations: 0 / 350.5 MB, free: 15.71 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002385/0.02774, allocations: 2.145 MB / 352.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.02778, allocations: 8.031 kB / 352.7 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.02817, allocations: 315.8 kB / 353 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.02906, allocations: 0.9639 MB / 354 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.02913, allocations: 103.2 kB / 354.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.02927, allocations: 148.3 kB / 354.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.03064, allocations: 1.203 MB / 355.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.03067, allocations: 7.938 kB / 355.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.03075, allocations: 56 kB / 355.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/0.0308, allocations: 70.81 kB / 355.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006027/0.03141, allocations: 466.5 kB / 356 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.03585, allocations: 4.874 MB / 360.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.03658, allocations: 0.738 MB / 361.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.03722, allocations: 0.5359 MB / 362.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.03726, allocations: 20.94 kB / 362.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.03729, allocations: 50.33 kB / 362.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.395e-06/0.03729, allocations: 0 / 362.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.003263/0.04056, allocations: 1.691 MB / 363.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.04058, allocations: 60.41 kB / 364 MB, free: 1.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.04111, allocations: 0.7489 MB / 364.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.04116, allocations: 41.7 kB / 364.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.04149, allocations: 0.7102 MB / 365.5 MB, free: 392 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.04168, allocations: 356.9 kB / 365.8 MB, free: 32 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.04188, allocations: 180.2 kB / 366 MB, free: 15.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.04201, allocations: 0.5237 MB / 366.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.04217, allocations: 129.9 kB / 366.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.04242, allocations: 310.7 kB / 366.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.0429, allocations: 0.4917 MB / 367.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0429, allocations: 0 / 367.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001282/0.04418, allocations: 0.8124 MB / 368.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.04419, allocations: 4 kB / 368.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0442, allocations: 4 kB / 368.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/0.04486, allocations: 327.4 kB / 368.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.04517, allocations: 143.8 kB / 368.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/0.0494, allocations: 6.958 MB / 375.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.04968, allocations: 75.39 kB / 375.7 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.04972, allocations: 27.98 kB / 375.8 MB, free: 5.555 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (integrator.local_reset,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.04997, allocations: 200.5 kB / 376 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.0501, allocations: 151.3 kB / 376.1 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009841/0.05108, allocations: 0.8423 MB / 377 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.05109, allocations: 3.984 kB / 377 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.05109, allocations: 0 / 377 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.05133, allocations: 223 kB / 377.2 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.05141, allocations: 16 kB / 377.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.05165, allocations: 31.98 kB / 377.2 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.05174, allocations: 72.86 kB / 377.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001328/0.05307, allocations: 0.9454 MB / 378.2 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009211/0.05399, allocations: 1.064 MB / 379.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000213/0.0542, allocations: 201.5 kB / 379.5 MB, free: 1.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000286/0.05449, allocations: 454.8 kB / 379.9 MB, free: 1.293 MB / 298.7 MB Notification: Performance of Backend: time 2.31e-07/0.05449, allocations: 0 / 379.9 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.05576, allocations: 1.226 MB / 381.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of SimCode: time 0.003713/0.05947, allocations: 3.947 MB / 385.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Templates: time 0.02533/0.0848, allocations: 23.87 MB / 409 MB, free: 4.457 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.66590436687693]