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.001026/0.001026, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001093/0.001093, allocations: 165 kB / 24.22 MB, free: 244 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.9846/0.9846, allocations: 177.1 MB / 204.7 MB, free: 5.012 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.00509/0.00509, allocations: 1.198 MB / 262.4 MB, free: 11.56 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.733e-06/1.733e-06, allocations: 0 / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.598e-05, allocations: 2.312 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.00714/0.007166, allocations: 6.391 MB / 285.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004988/0.01215, allocations: 2.172 MB / 287.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.01333, allocations: 43.69 kB / 287.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01458, allocations: 417 kB / 288.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.01622, allocations: 0.5471 MB / 288.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.01678, allocations: 247.6 kB / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1925/0.2093, allocations: 2.057 MB / 291.2 MB, free: 19.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.2109, allocations: 0.7832 MB / 292 MB, free: 19.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.2138, allocations: 1.358 MB / 293.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.2159, allocations: 0.9377 MB / 294.3 MB, free: 19.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008135/0.2167, allocations: 222.9 kB / 294.5 MB, free: 19.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007947/0.2175, allocations: 249.8 kB / 294.7 MB, free: 19.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006397/0.2182, allocations: 0.5814 MB / 295.3 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.2197, allocations: 0.6915 MB / 296 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.223, allocations: 1.631 MB / 297.6 MB, free: 18.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.223, allocations: 0 / 297.6 MB, free: 18.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.223, allocations: 1.281 kB / 297.6 MB, free: 18.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.545e-05/0.2231, allocations: 0 / 297.6 MB, free: 18.55 MB / 266.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.004343/0.2274, allocations: 1.935 MB / 299.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.2275, allocations: 9.312 kB / 299.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.2281, allocations: 247.9 kB / 299.8 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.2296, allocations: 0.715 MB / 300.5 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.2297, allocations: 105.3 kB / 300.6 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.2299, allocations: 139.2 kB / 300.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.2316, allocations: 1.212 MB / 302 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.2316, allocations: 10.7 kB / 302 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/0.2317, allocations: 62.09 kB / 302.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.2318, allocations: 68.92 kB / 302.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.2327, allocations: 402.8 kB / 302.5 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004653/0.2373, allocations: 3.734 MB / 306.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.2381, allocations: 0.6466 MB / 306.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.2386, allocations: 0.503 MB / 307.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.2387, allocations: 20.81 kB / 307.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2387, allocations: 44.41 kB / 307.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.707e-06/0.2387, allocations: 3 kB / 307.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.00302/0.2418, allocations: 1.519 MB / 309 MB, free: 12.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2418, allocations: 64.41 kB / 309 MB, free: 12.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.2423, allocations: 0.6166 MB / 309.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.2424, allocations: 41.7 kB / 309.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.2426, allocations: 0.5206 MB / 310.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.2427, allocations: 350.1 kB / 310.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.2429, allocations: 164.6 kB / 310.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.243, allocations: 349.5 kB / 311.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2431, allocations: 116.8 kB / 311.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.2433, allocations: 243 kB / 311.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.2438, allocations: 458.3 kB / 311.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2438, allocations: 0 / 311.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008363/0.2446, allocations: 0.6645 MB / 312.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.2446, allocations: 11.97 kB / 312.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2446, allocations: 4 kB / 312.6 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/0.2453, allocations: 313.9 kB / 312.9 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.2457, allocations: 177.2 kB / 313 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.2487, allocations: 5.139 MB / 318.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.2492, allocations: 71.47 kB / 318.2 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.2492, allocations: 27.94 kB / 318.3 MB, free: 3.41 MB / 266.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.0005798/0.2498, allocations: 168.1 kB / 318.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.2499, allocations: 98.47 kB / 318.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008698/0.2508, allocations: 0.7288 MB / 319.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2508, allocations: 8 kB / 319.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2508, allocations: 7.141 kB / 319.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.2508, allocations: 7.969 kB / 319.3 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.2531, allocations: 1.535 MB / 320.8 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.2531, allocations: 8 kB / 320.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.2534, allocations: 148.5 kB / 321 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006172/0.254, allocations: 344.8 kB / 321.3 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.2541, allocations: 19.94 kB / 321.3 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/0.2579, allocations: 5.08 MB / 326.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2579, allocations: 0 / 326.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.2594, allocations: 0.8996 MB / 327.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.2598, allocations: 155 kB / 327.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.2599, allocations: 20 kB / 327.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.2601, allocations: 39.98 kB / 327.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.2603, allocations: 84.3 kB / 327.6 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.2604, allocations: 24 kB / 327.6 MB, free: 9.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003655/0.2607, allocations: 305 kB / 327.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2607, allocations: 3.938 kB / 327.9 MB, free: 9.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00131/0.262, allocations: 466.9 kB / 328.4 MB, free: 9.254 MB / 282.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.0001823/0.2622, allocations: 124.2 kB / 328.5 MB, free: 9.133 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.2639, allocations: 1.025 MB / 329.5 MB, free: 8.098 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/0.2639, allocations: 8 kB / 329.5 MB, free: 8.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008254/0.2647, allocations: 0.838 MB / 330.4 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.2656, allocations: 328.6 kB / 330.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004873/0.2705, allocations: 2.769 MB / 333.5 MB, free: 4.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2708, allocations: 369.5 kB / 333.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000547/0.2714, allocations: 116.9 kB / 333.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.2719, allocations: 313.1 kB / 334.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of SimCode: time 2.114e-06/0.2719, allocations: 0 / 334.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of Templates: time 0.0327/0.3046, allocations: 24.2 MB / 358.4 MB, free: 11.57 MB / 314.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 sys.exit(0), Time elapsed: 6.165746989659965]