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.001089/0.001089, allocations: 73.97 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.001525/0.001525, allocations: 169.4 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 1.027/1.027, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.008275/0.008275, allocations: 1.187 MB / 262.2 MB, free: 11.75 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.893e-06/1.893e-06, allocations: 0 / 332.4 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.832e-05, allocations: 2.312 kB / 332.4 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.006062/0.00609, allocations: 5.889 MB / 338.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.009149, allocations: 1.982 MB / 340.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.00964, allocations: 55.62 kB / 340.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.01038, allocations: 377.6 kB / 340.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008893/0.01127, allocations: 484.6 kB / 341.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.01162, allocations: 227.6 kB / 341.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.01294, allocations: 1.928 MB / 343.3 MB, free: 8.082 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007874/0.01373, allocations: 0.8646 MB / 344.2 MB, free: 7.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.01499, allocations: 1.365 MB / 345.5 MB, free: 5.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008687/0.01586, allocations: 0.9314 MB / 346.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.01606, allocations: 216 kB / 346.7 MB, free: 4.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.01636, allocations: 248 kB / 346.9 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.01671, allocations: 0.5765 MB / 347.5 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005573/0.01727, allocations: 0.6938 MB / 348.2 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.01856, allocations: 1.616 MB / 349.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01857, allocations: 0 / 349.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01857, allocations: 0 / 349.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.01859, allocations: 0 / 349.8 MB, free: 1.523 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: 394 * Number of variables: 394 Notification: Performance of Generate backend data structure: time 0.002258/0.02085, allocations: 2.154 MB / 351.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.02088, allocations: 16.02 kB / 352 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/0.02133, allocations: 335.7 kB / 352.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.02227, allocations: 0.9249 MB / 353.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.02234, allocations: 115.4 kB / 353.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.0225, allocations: 160.3 kB / 353.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.02374, allocations: 1.25 MB / 354.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.02378, allocations: 11.97 kB / 354.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.02387, allocations: 60 kB / 354.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.02392, allocations: 63.06 kB / 354.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.02455, allocations: 449.1 kB / 355.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.02873, allocations: 4.151 MB / 359.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.02937, allocations: 0.5443 MB / 360 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.02961, allocations: 212.7 kB / 360.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.02965, allocations: 20.66 kB / 360.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.02968, allocations: 42.05 kB / 360.3 MB, free: 6.738 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 2.264e-06/0.02968, allocations: 0 / 360.3 MB, free: 6.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.003707/0.03338, allocations: 2.34 MB / 362.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.03341, allocations: 60.41 kB / 362.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.03396, allocations: 0.7255 MB / 363.4 MB, free: 3.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.03401, allocations: 41.7 kB / 363.4 MB, free: 3.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.03438, allocations: 0.7567 MB / 364.2 MB, free: 2.703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.03458, allocations: 345.1 kB / 364.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.03476, allocations: 180.2 kB / 364.7 MB, free: 2.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.03491, allocations: 0.5276 MB / 365.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.03507, allocations: 109.9 kB / 365.3 MB, free: 1.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.03534, allocations: 364.2 kB / 365.7 MB, free: 1.094 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.0006815/0.03602, allocations: 0.7206 MB / 366.4 MB, free: 296 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.03602, allocations: 0 / 366.4 MB, free: 296 kB / 330.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001186/0.03721, allocations: 0.8817 MB / 367.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.03723, allocations: 4 kB / 367.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.03724, allocations: 8 kB / 367.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.03801, allocations: 349.6 kB / 367.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.03834, allocations: 151.8 kB / 367.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/0.04251, allocations: 6.631 MB / 374.4 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.04289, allocations: 31.94 kB / 374.5 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.04293, allocations: 27.98 kB / 374.5 MB, free: 7.84 MB / 346.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.0004041/0.04333, allocations: 208.4 kB / 374.7 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.04347, allocations: 123.4 kB / 374.8 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.04458, allocations: 0.8067 MB / 375.6 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.04459, allocations: 8 kB / 375.6 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.04459, allocations: 4 kB / 375.6 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.0446, allocations: 7.922 kB / 375.6 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.04725, allocations: 2.124 MB / 377.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.04726, allocations: 4 kB / 377.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.04755, allocations: 119.8 kB / 377.9 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006881/0.04824, allocations: 324.5 kB / 378.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.04828, allocations: 19.94 kB / 378.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003338/0.05162, allocations: 6.334 MB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.05162, allocations: 3.938 kB / 384.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.05292, allocations: 1.108 MB / 385.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.05316, allocations: 171.2 kB / 385.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.05323, allocations: 20 kB / 385.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.05349, allocations: 39.97 kB / 385.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.0536, allocations: 68.94 kB / 386 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.05364, allocations: 20 kB / 386 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002829/0.05392, allocations: 422.8 kB / 386.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05392, allocations: 8 kB / 386.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008108/0.05473, allocations: 328 kB / 386.7 MB, free: 11.11 MB / 362.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.0001385/0.05487, allocations: 123.2 kB / 386.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.05609, allocations: 1.183 MB / 388 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.05609, allocations: 8 kB / 388 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.0569, allocations: 0.9184 MB / 388.9 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.0576, allocations: 277.9 kB / 389.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.06088, allocations: 2.687 MB / 391.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.06121, allocations: 444.1 kB / 392.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.06151, allocations: 116.1 kB / 392.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.06196, allocations: 333.9 kB / 392.8 MB, free: 4.84 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.06196, allocations: 0 / 392.8 MB, free: 4.84 MB / 362.7 MB Notification: Performance of Templates: time 0.02361/0.08557, allocations: 19.64 MB / 412.4 MB, free: 1.434 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5366252409294248]