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.0007931/0.0007931, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.00135/0.00135, allocations: 169 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.9599/0.9599, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.004822/0.004822, allocations: 1.194 MB / 262.2 MB, free: 11.74 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.203e-06/1.203e-06, allocations: 0 / 331.6 MB, free: 3.883 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.726e-06/9.929e-06, allocations: 2.312 kB / 331.6 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.004952/0.004962, allocations: 6.348 MB / 337.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.007012, allocations: 2.095 MB / 340 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.007305, allocations: 47.69 kB / 340 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.007876, allocations: 397.4 kB / 340.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006636/0.008539, allocations: 0.5353 MB / 341 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.008792, allocations: 251.6 kB / 341.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.00995, allocations: 2.061 MB / 343.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.01059, allocations: 0.7529 MB / 344 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00099/0.01158, allocations: 1.368 MB / 345.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.01228, allocations: 0.9548 MB / 346.4 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.01246, allocations: 224 kB / 346.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.01273, allocations: 240 kB / 346.8 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.01304, allocations: 0.5881 MB / 347.4 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.01349, allocations: 0.69 MB / 348.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.0146, allocations: 1.628 MB / 349.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.0146, allocations: 0 / 349.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0146, allocations: 0 / 349.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.01461, allocations: 0 / 349.7 MB, free: 1.602 MB / 314.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.001918/0.01653, allocations: 2.148 MB / 351.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.423e-05/0.01656, allocations: 12.03 kB / 351.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.01687, allocations: 311.7 kB / 352.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.01776, allocations: 0.964 MB / 353.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.01782, allocations: 107.2 kB / 353.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.01795, allocations: 148.3 kB / 353.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.01911, allocations: 1.199 MB / 354.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.01913, allocations: 0 / 354.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.01922, allocations: 67.98 kB / 354.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/0.01927, allocations: 66.81 kB / 354.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.01987, allocations: 470.4 kB / 355.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.02411, allocations: 4.87 MB / 360 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00068/0.02479, allocations: 0.7352 MB / 360.8 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.02552, allocations: 0.5323 MB / 361.3 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.02556, allocations: 17 kB / 361.3 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.02559, allocations: 50.33 kB / 361.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 1.773e-06/0.02559, allocations: 0 / 361.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.003113/0.0287, allocations: 1.691 MB / 363.1 MB, free: 3.887 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.02873, allocations: 72.39 kB / 363.1 MB, free: 3.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.02922, allocations: 0.7334 MB / 363.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.02927, allocations: 45.7 kB / 363.9 MB, free: 3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.02957, allocations: 0.7063 MB / 364.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.02976, allocations: 368.9 kB / 365 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.02993, allocations: 180.2 kB / 365.2 MB, free: 1.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.03006, allocations: 0.5276 MB / 365.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.03023, allocations: 121.9 kB / 365.8 MB, free: 1.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.03048, allocations: 314.6 kB / 366.1 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/0.03119, allocations: 499.6 kB / 366.6 MB, free: 184 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.03119, allocations: 0 / 366.6 MB, free: 184 kB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0009188/0.03211, allocations: 0.8125 MB / 367.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.03213, allocations: 8 kB / 367.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.03213, allocations: 0 / 367.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/0.03274, allocations: 331.3 kB / 367.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.03305, allocations: 139.8 kB / 367.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/0.03699, allocations: 6.96 MB / 374.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.03724, allocations: 79.39 kB / 374.9 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.03728, allocations: 27.94 kB / 375 MB, free: 7.441 MB / 346.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.0002349/0.03751, allocations: 216.4 kB / 375.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.03764, allocations: 135.3 kB / 375.3 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009747/0.03861, allocations: 0.8346 MB / 376.1 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.03862, allocations: 8 kB / 376.1 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.03862, allocations: 4 kB / 376.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.03863, allocations: 8.016 kB / 376.1 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.04065, allocations: 1.86 MB / 378 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.04065, allocations: 0 / 378 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.04096, allocations: 131.8 kB / 378.1 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005663/0.04153, allocations: 318.8 kB / 378.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.04157, allocations: 24 kB / 378.5 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004152/0.04572, allocations: 6.883 MB / 385.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.04572, allocations: 0 / 385.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.04722, allocations: 1.096 MB / 386.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.04753, allocations: 219 kB / 386.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.857e-05/0.04763, allocations: 20 kB / 386.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.04797, allocations: 35.98 kB / 386.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.04812, allocations: 84.83 kB / 386.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.04816, allocations: 20 kB / 386.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003637/0.04852, allocations: 446.8 kB / 387.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04852, allocations: 0 / 387.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009097/0.04943, allocations: 474.9 kB / 387.7 MB, free: 10.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (inertiaLoad.w,integrator.y,heatCapacitor.T,smpm.phi,smpm.clarkeParkConverter.idq[1],smpm.clarkeParkConverter.idq[2],smpm.clarkeParkConverter.i0) * Number of discrete variables: 7 (switch.control,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 60 * 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 Backend phase and start with SimCode phase: time 0.0003841/0.04982, allocations: 139 kB / 387.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.05125, allocations: 1.253 MB / 389.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.05125, allocations: 0 / 389.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009922/0.05224, allocations: 1.039 MB / 390.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/0.05321, allocations: 335 kB / 390.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.05718, allocations: 2.893 MB / 393.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.05792, allocations: 0.8093 MB / 394.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/0.05856, allocations: 374 kB / 394.5 MB, free: 3.152 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.05856, allocations: 4 kB / 394.5 MB, free: 3.148 MB / 362.7 MB Notification: Performance of Templates: time 0.04048/0.09905, allocations: 48.38 MB / 442.9 MB, free: 2.809 MB / 410.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 > ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.840463121887296]