Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.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.0009608/0.0009608, allocations: 77.14 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.001049/0.001049, allocations: 165 kB / 24.06 MB, free: 456 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.9844/0.9844, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.008458/0.008458, allocations: 1.193 MB / 262.2 MB, free: 11.76 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.Translational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Translational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 332.4 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.551e-05, allocations: 14.19 kB / 332.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.005755/0.005771, allocations: 6.707 MB / 339.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.00938, allocations: 2.157 MB / 341.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006889/0.01007, allocations: 51.62 kB / 341.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008236/0.01089, allocations: 401 kB / 341.7 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.01199, allocations: 0.5625 MB / 342.2 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.01239, allocations: 271.5 kB / 342.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.0141, allocations: 2.135 MB / 344.7 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007958/0.0149, allocations: 0.7809 MB / 345.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.0165, allocations: 1.419 MB / 346.9 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.01751, allocations: 0.9548 MB / 347.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.01779, allocations: 232 kB / 348 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.01809, allocations: 248 kB / 348.3 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.01844, allocations: 0.5998 MB / 348.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.01945, allocations: 0.7211 MB / 349.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.02076, allocations: 1.671 MB / 351.3 MB, free: 40 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.02076, allocations: 0 / 351.3 MB, free: 40 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02077, allocations: 0 / 351.3 MB, free: 40 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.274e-05/0.02081, allocations: 0 / 351.3 MB, free: 40 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.002448/0.02326, allocations: 2.215 MB / 353.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.0233, allocations: 8.031 kB / 353.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.02371, allocations: 327.7 kB / 353.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000947/0.02466, allocations: 0.9874 MB / 354.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.02472, allocations: 111.3 kB / 354.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.02487, allocations: 144.4 kB / 355 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.02608, allocations: 1.237 MB / 356.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.02612, allocations: 11.89 kB / 356.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.0262, allocations: 63.94 kB / 356.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.02627, allocations: 78.92 kB / 356.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006917/0.02696, allocations: 475.9 kB / 356.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004503/0.03146, allocations: 4.969 MB / 361.9 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/0.03224, allocations: 0.7682 MB / 362.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.0329, allocations: 0.5284 MB / 363.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.03294, allocations: 17 kB / 363.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.03297, allocations: 54.38 kB / 363.2 MB, free: 3.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=105): time 2.495e-06/0.03298, allocations: 0 / 363.2 MB, free: 3.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.005937/0.03891, allocations: 2.856 MB / 366.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.03895, allocations: 68.34 kB / 366.2 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.03958, allocations: 0.7645 MB / 366.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.03963, allocations: 45.7 kB / 367 MB, free: 15.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.03999, allocations: 0.7259 MB / 367.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.04023, allocations: 404.6 kB / 368.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.04045, allocations: 192.5 kB / 368.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.0406, allocations: 0.5276 MB / 368.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.0408, allocations: 134.5 kB / 368.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.04108, allocations: 341.1 kB / 369.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.04162, allocations: 0.5419 MB / 369.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.04162, allocations: 0 / 369.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001068/0.04269, allocations: 0.8634 MB / 370.7 MB, free: 12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.04271, allocations: 12.03 kB / 370.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.04272, allocations: 4 kB / 370.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007217/0.04344, allocations: 351.1 kB / 371 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.04381, allocations: 155.8 kB / 371.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/0.04817, allocations: 7.054 MB / 378.2 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.0485, allocations: 24 kB / 378.3 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.04854, allocations: 24 kB / 378.3 MB, free: 4.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (91): * Single equations (assignments): 87 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0003361/0.04888, allocations: 220.4 kB / 378.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.04902, allocations: 155.2 kB / 378.6 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.05014, allocations: 0.8819 MB / 379.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.05015, allocations: 7.984 kB / 379.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.05016, allocations: 0 / 379.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.05043, allocations: 215.2 kB / 379.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/0.05051, allocations: 23.94 kB / 379.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.05076, allocations: 35.98 kB / 379.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.05087, allocations: 76.78 kB / 379.9 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001476/0.05235, allocations: 1.004 MB / 380.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001035/0.05338, allocations: 1.119 MB / 382 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002536/0.05363, allocations: 213.5 kB / 382.2 MB, free: 8 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003363/0.05397, allocations: 466.7 kB / 382.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Backend: time 6.21e-07/0.05397, allocations: 0 / 382.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.05547, allocations: 1.292 MB / 384 MB, free: 14.19 MB / 362.7 MB Notification: Performance of SimCode: time 0.004312/0.05978, allocations: 4.07 MB / 388 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.02802/0.0878, allocations: 24.54 MB / 412.6 MB, free: 1.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.222819473128766]