Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.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.0007613/0.0007613, allocations: 80.88 kB / 20.8 MB, free: 3.66 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.0008424/0.0008424, allocations: 165.4 kB / 24.23 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.922/0.922, allocations: 177.1 MB / 204.7 MB, free: 5.445 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.007552/0.007552, allocations: 1.206 MB / 262.4 MB, free: 11.73 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.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking") translateModel(ElectricBraking.Examples.Translational.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 3.938 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.126e-05, allocations: 6.25 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.005808/0.005839, allocations: 5.94 MB / 285.3 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004201/0.01004, allocations: 2.036 MB / 287.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007788/0.01082, allocations: 47.69 kB / 287.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009535/0.01177, allocations: 413 kB / 287.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.01282, allocations: 488.6 kB / 288.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.01325, allocations: 219.7 kB / 288.4 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1739/0.1871, allocations: 1.928 MB / 290.4 MB, free: 19.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.189, allocations: 0.8911 MB / 291.3 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.193, allocations: 1.343 MB / 292.6 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.1955, allocations: 0.9431 MB / 293.6 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.1965, allocations: 214.9 kB / 293.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000856/0.1974, allocations: 241.4 kB / 294 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006588/0.1981, allocations: 0.5852 MB / 294.6 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001934/0.2, allocations: 0.6896 MB / 295.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.2034, allocations: 1.615 MB / 296.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2035, allocations: 0 / 296.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2035, allocations: 2.344 kB / 296.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001451/0.2036, allocations: 4.625 kB / 296.9 MB, free: 19.07 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: 394 * Number of variables: 394 Notification: Performance of Generate backend data structure: time 0.004613/0.2082, allocations: 1.929 MB / 298.8 MB, free: 18.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2083, allocations: 9.844 kB / 298.8 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007445/0.209, allocations: 271 kB / 299.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.2104, allocations: 0.7016 MB / 299.8 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.2104, allocations: 113.7 kB / 299.9 MB, free: 17.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.2106, allocations: 154.7 kB / 300.1 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.2124, allocations: 1.27 MB / 301.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/0.2124, allocations: 6.922 kB / 301.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.2125, allocations: 72.09 kB / 301.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-05/0.2126, allocations: 64.72 kB / 301.5 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.2134, allocations: 468.1 kB / 301.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.2184, allocations: 3.258 MB / 305.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.2191, allocations: 0.4946 MB / 305.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.2193, allocations: 178.8 kB / 305.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.2193, allocations: 19.31 kB / 305.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.2194, allocations: 46.22 kB / 305.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.845e-06/0.2194, allocations: 0 / 305.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=90): time 0.004296/0.2237, allocations: 2.283 MB / 308.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.2237, allocations: 60.41 kB / 308.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.2242, allocations: 0.5889 MB / 308.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.2243, allocations: 41.7 kB / 308.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.2245, allocations: 0.5907 MB / 309.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.2246, allocations: 320.5 kB / 309.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.2248, allocations: 161.4 kB / 310 MB, free: 12.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.2248, allocations: 342.1 kB / 310.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.225, allocations: 112.8 kB / 310.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.2252, allocations: 277.2 kB / 310.7 MB, free: 11.44 MB / 266.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.2258, allocations: 0.6575 MB / 311.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2258, allocations: 0 / 311.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0009045/0.2267, allocations: 0.7146 MB / 312 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2267, allocations: 8 kB / 312.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2267, allocations: 11.25 kB / 312.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007142/0.2274, allocations: 348.3 kB / 312.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.2278, allocations: 168.1 kB / 312.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004759/0.2326, allocations: 4.922 MB / 317.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/0.2333, allocations: 31.28 kB / 317.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.2333, allocations: 28.55 kB / 317.5 MB, free: 4.395 MB / 266.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: massLoad.s = $START.massLoad.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (switch.control[3],switch.control[2],switch.control[1],integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,15,81.2%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000776/0.2341, allocations: 174.5 kB / 317.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.2342, allocations: 87.38 kB / 317.8 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.2353, allocations: 0.6813 MB / 318.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2353, allocations: 11.94 kB / 318.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.2354, allocations: 4.375 kB / 318.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2354, allocations: 7.984 kB / 318.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.238, allocations: 1.738 MB / 320.2 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.238, allocations: 0 / 320.2 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.2384, allocations: 163.1 kB / 320.4 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006297/0.239, allocations: 324.2 kB / 320.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.2391, allocations: 23.98 kB / 320.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.2421, allocations: 4.644 MB / 325.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2422, allocations: 3.469 kB / 325.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.2434, allocations: 0.9205 MB / 326.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.2437, allocations: 127.3 kB / 326.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.2438, allocations: 20 kB / 326.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.244, allocations: 43.92 kB / 326.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.2442, allocations: 78.47 kB / 326.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.2442, allocations: 23.98 kB / 326.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.2445, allocations: 279.1 kB / 326.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2445, allocations: 0 / 326.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001169/0.2457, allocations: 328 kB / 327.2 MB, free: 10.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,smpm.clarkeParkConverter.idq[1],smpm.clarkeParkConverter.idq[2]) * Number of discrete variables: 3 (switch.control[1],switch.control[2],switch.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,15,81.2%), (1,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.2459, allocations: 107.2 kB / 327.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.2472, allocations: 0.9592 MB / 328.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.419e-05/0.2472, allocations: 8.75 kB / 328.3 MB, free: 9.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.2481, allocations: 0.735 MB / 329 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/0.2488, allocations: 278.1 kB / 329.3 MB, free: 8.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.2534, allocations: 2.616 MB / 331.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.2538, allocations: 376.2 kB / 332.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.2542, allocations: 112.1 kB / 332.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.2547, allocations: 289.1 kB / 332.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2547, allocations: 0 / 332.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of Templates: time 0.02954/0.2842, allocations: 19.29 MB / 351.9 MB, free: 2.359 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2669617496430874]