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.0009226/0.0009226, allocations: 88.52 kB / 19.94 MB, free: 4.605 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.0009131/0.0009131, allocations: 173.9 kB / 23.21 MB, free: 1.328 MB / 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.8967/0.8967, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.004992/0.004992, allocations: 1.189 MB / 261.1 MB, free: 12.09 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.322e-06/1.322e-06, allocations: 0 / 383.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.022e-05, allocations: 5.234 kB / 383.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.004617/0.004637, allocations: 5.468 MB / 389 MB, free: 8.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.006631, allocations: 1.904 MB / 390.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.006936, allocations: 51.62 kB / 390.9 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.007584, allocations: 373.3 kB / 391.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006581/0.008242, allocations: 480.7 kB / 391.8 MB, free: 5.648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.008492, allocations: 231.5 kB / 392 MB, free: 5.422 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.00956, allocations: 1.932 MB / 393.9 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007131/0.01027, allocations: 0.8607 MB / 394.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008583/0.01113, allocations: 1.255 MB / 396 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009281/0.01206, allocations: 0.8924 MB / 396.9 MB, free: 432 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.01223, allocations: 219.9 kB / 397.2 MB, free: 212 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.01252, allocations: 248 kB / 397.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.01285, allocations: 0.5881 MB / 398 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.01331, allocations: 0.6938 MB / 398.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.01499, allocations: 2.766 MB / 401.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01499, allocations: 0 / 401.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.015, allocations: 0 / 401.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.01502, allocations: 3.938 kB / 401.4 MB, free: 11.9 MB / 330.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.002501/0.01752, allocations: 2.064 MB / 403.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.01755, allocations: 12.03 kB / 403.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.01787, allocations: 211.7 kB / 403.7 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.019, allocations: 1.058 MB / 404.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.01907, allocations: 119.4 kB / 404.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.01922, allocations: 152.3 kB / 405.1 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.02129, allocations: 2.215 MB / 407.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.02132, allocations: 3.938 kB / 407.3 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/0.02141, allocations: 64 kB / 407.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/0.02146, allocations: 67.05 kB / 407.4 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.02321, allocations: 1.675 MB / 409.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1312/0.1544, allocations: 4.746 MB / 413.8 MB, free: 37.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.1557, allocations: 1.064 MB / 414.9 MB, free: 37.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.1563, allocations: 0.5778 MB / 415.5 MB, free: 36.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.1564, allocations: 9.312 kB / 415.5 MB, free: 36.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.1564, allocations: 40.83 kB / 415.5 MB, free: 36.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.334e-06/0.1564, allocations: 3.594 kB / 415.5 MB, free: 36.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.006335/0.1627, allocations: 5.16 MB / 420.7 MB, free: 34.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.1627, allocations: 62.16 kB / 420.7 MB, free: 34.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/0.1635, allocations: 0.7943 MB / 421.5 MB, free: 34.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.1635, allocations: 46.14 kB / 421.6 MB, free: 34.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.1638, allocations: 0.6786 MB / 422.3 MB, free: 34.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.1639, allocations: 343.9 kB / 422.6 MB, free: 33.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.1641, allocations: 167.9 kB / 422.8 MB, free: 33.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.1642, allocations: 343.8 kB / 423.1 MB, free: 33.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.1647, allocations: 0.4948 MB / 423.6 MB, free: 33.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.1653, allocations: 0.6527 MB / 424.2 MB, free: 32.91 MB / 330.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.003544/0.1688, allocations: 2.552 MB / 426.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1688, allocations: 2.062 kB / 426.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001906/0.1707, allocations: 1.838 MB / 428.6 MB, free: 31.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1708, allocations: 10.62 kB / 428.6 MB, free: 31.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1708, allocations: 4.125 kB / 428.6 MB, free: 31.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009489/0.1717, allocations: 0.6294 MB / 429.3 MB, free: 31.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.1722, allocations: 157.4 kB / 429.4 MB, free: 31.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.1768, allocations: 7.952 MB / 437.4 MB, free: 24.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.1771, allocations: 44.02 kB / 437.4 MB, free: 24.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.1771, allocations: 28.55 kB / 437.4 MB, free: 24.82 MB / 330.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: 18 * 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 (90): * Single equations (assignments): 87 * 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 {(5,14,76.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004604/0.1776, allocations: 0.5416 MB / 438 MB, free: 24.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.1777, allocations: 107.3 kB / 438.1 MB, free: 24.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.1792, allocations: 1.757 MB / 439.9 MB, free: 22.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1792, allocations: 8 kB / 439.9 MB, free: 22.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1792, allocations: 6.766 kB / 439.9 MB, free: 22.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1792, allocations: 7.984 kB / 439.9 MB, free: 22.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.1822, allocations: 3.198 MB / 443.1 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1822, allocations: 4 kB / 443.1 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.1825, allocations: 135.6 kB / 443.2 MB, free: 19.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007956/0.1833, allocations: 0.5721 MB / 443.8 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.1833, allocations: 23.98 kB / 443.8 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003579/0.1869, allocations: 7.052 MB / 450.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1869, allocations: 0 / 450.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.1889, allocations: 2.474 MB / 453.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.1891, allocations: 212.6 kB / 453.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.1892, allocations: 20 kB / 453.6 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.1895, allocations: 47.95 kB / 453.6 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.1896, allocations: 84.78 kB / 453.7 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.1896, allocations: 39.59 kB / 453.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003635/0.19, allocations: 0.5575 MB / 454.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.19, allocations: 4 kB / 454.3 MB, free: 7.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006282/0.1906, allocations: 344 kB / 454.6 MB, free: 7.281 MB / 330.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 (75): * Single equations (assignments): 72 * 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 {(5,14,76.0%), (2,1,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.0001128/0.1907, allocations: 124.9 kB / 454.7 MB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.1923, allocations: 1.792 MB / 456.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1923, allocations: 3.938 kB / 456.5 MB, free: 5.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009119/0.1932, allocations: 1.179 MB / 457.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.1938, allocations: 268 kB / 458 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.1965, allocations: 3.191 MB / 461.2 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.1971, allocations: 0.9145 MB / 462.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.1972, allocations: 72.48 kB / 462.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1972, allocations: 0 / 462.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of Templates: time 0.0278/0.225, allocations: 41.89 MB / 0.4922 GB, free: 5.766 MB / 378.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 > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.418549155816436]