Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.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.001171/0.001171, 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.0008714/0.0008714, allocations: 165 kB / 24.22 MB, free: 248 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.9707/0.9707, allocations: 177.1 MB / 204.7 MB, free: 5.434 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.007436/0.007436, allocations: 1.205 MB / 262.4 MB, free: 11.71 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.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Rotational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.904e-05, allocations: 2.312 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.003855/0.003884, allocations: 2.3 MB / 281.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.005434, allocations: 0.8372 MB / 282.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.005586, allocations: 7.938 kB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.005949, allocations: 63.55 kB / 282.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.006088, allocations: 67.38 kB / 282.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.006328, allocations: 67.77 kB / 282.7 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.006598, allocations: 206.9 kB / 282.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.006763, allocations: 34.45 kB / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.00706, allocations: 119.7 kB / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.007196, allocations: 51.83 kB / 283.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.007227, allocations: 12 kB / 283.1 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.007335, allocations: 31.97 kB / 283.1 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.007369, allocations: 35.84 kB / 283.1 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.007433, allocations: 59.84 kB / 283.2 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.007737, allocations: 143.4 kB / 283.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.007741, allocations: 0 / 283.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.007742, allocations: 0 / 283.3 MB, free: 6.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.007749, allocations: 8 kB / 283.3 MB, free: 6.699 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005944/0.008343, allocations: 380 kB / 283.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.008388, allocations: 8.031 kB / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.008612, allocations: 40.84 kB / 283.8 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.008857, allocations: 162.2 kB / 283.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.008874, allocations: 12.38 kB / 283.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.00891, allocations: 16.38 kB / 284 MB, free: 6.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.009191, allocations: 128.6 kB / 284.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.009209, allocations: 4.188 kB / 284.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.009226, allocations: 7.938 kB / 284.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.009235, allocations: 4 kB / 284.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.00933, allocations: 39.97 kB / 284.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000754/0.01008, allocations: 0.507 MB / 284.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.01021, allocations: 58.48 kB / 284.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.01024, allocations: 20.84 kB / 284.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.01025, allocations: 4 kB / 284.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.01027, allocations: 34.5 kB / 284.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.01028, allocations: 0 / 284.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001886/0.01047, allocations: 69.8 kB / 284.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.01051, allocations: 55.41 kB / 284.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.01063, allocations: 170.6 kB / 285 MB, free: 4.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.01065, allocations: 25.7 kB / 285.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.01071, allocations: 131.8 kB / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.01074, allocations: 39.67 kB / 285.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.01079, allocations: 41.62 kB / 285.3 MB, free: 4.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.01089, allocations: 322.8 kB / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.01092, allocations: 8 kB / 285.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.01098, allocations: 57.98 kB / 285.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.01108, allocations: 85.84 kB / 285.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01108, allocations: 0 / 285.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001507/0.01123, allocations: 97.47 kB / 285.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.01125, allocations: 11.94 kB / 285.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01126, allocations: 0 / 285.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.01127, allocations: 4 kB / 285.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.01149, allocations: 44.16 kB / 285.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.0115, allocations: 11.98 kB / 285.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.01156, allocations: 11.89 kB / 285.9 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.01157, allocations: 7.938 kB / 285.9 MB, free: 3.898 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/0.01165, allocations: 109.8 kB / 286 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.01169, allocations: 19.92 kB / 286.1 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.01173, allocations: 17.47 kB / 286.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01173, allocations: 3.938 kB / 286.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01173, allocations: 3.984 kB / 286.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01174, allocations: 8 kB / 286.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.0119, allocations: 101.8 kB / 286.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0119, allocations: 0 / 286.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01207, allocations: 38.56 kB / 286.2 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.01207, allocations: 7.938 kB / 286.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01209, allocations: 0 / 286.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01209, allocations: 0 / 286.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01209, allocations: 0 / 286.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.01229, allocations: 179.4 kB / 286.4 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.01232, allocations: 11.89 kB / 286.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01234, allocations: 11.92 kB / 286.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.01241, allocations: 8 kB / 286.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.01243, allocations: 0 / 286.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.01243, allocations: 4 kB / 286.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.01248, allocations: 49.84 kB / 286.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01248, allocations: 0 / 286.5 MB, free: 3.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.01274, allocations: 35.95 kB / 286.5 MB, free: 3.258 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaLoad.w,integrator.y,heatCapacitor.T,eddyCurrentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001056/0.01285, allocations: 84.34 kB / 286.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01297, allocations: 53.03 kB / 286.7 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.01298, allocations: 4.062 kB / 286.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.538e-05/0.01302, allocations: 29.25 kB / 286.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.0133, allocations: 32.38 kB / 286.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.01445, allocations: 472.2 kB / 287.2 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.753e-05/0.0145, allocations: 79.77 kB / 287.3 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.567e-05/0.01458, allocations: 21.47 kB / 287.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.01468, allocations: 71.36 kB / 287.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01468, allocations: 0 / 287.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of Templates: time 0.004829/0.01951, allocations: 1.574 MB / 288.9 MB, free: 0.8359 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6933173099532723]