Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.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.001153/0.001153, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001413/0.001413, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.054/1.054, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.005213/0.005213, allocations: 1.194 MB / 261.5 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.Rotational.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking") translateModel(ElectricBraking.Examples.Rotational.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 331.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.67e-05, allocations: 2.312 kB / 331.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.DCPMBraking): time 0.004258/0.004285, allocations: 4.036 MB / 335.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.006032, allocations: 1.343 MB / 337 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.006261, allocations: 11.94 kB / 337 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.006797, allocations: 206.5 kB / 337.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.007081, allocations: 198.3 kB / 337.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.007301, allocations: 107.9 kB / 337.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009109/0.008212, allocations: 0.6258 MB / 338.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.008527, allocations: 159.8 kB / 338.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.009078, allocations: 367.1 kB / 338.6 MB, free: 12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.009384, allocations: 183.4 kB / 338.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.009467, allocations: 56 kB / 338.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.009602, allocations: 71.97 kB / 338.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.00967, allocations: 119.5 kB / 339 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.009795, allocations: 191.5 kB / 339.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.01026, allocations: 414.4 kB / 339.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.01026, allocations: 4 kB / 339.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01026, allocations: 0 / 339.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.01027, allocations: 0 / 339.6 MB, free: 10.98 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0008708/0.01114, allocations: 0.8268 MB / 340.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.01118, allocations: 12.03 kB / 340.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.01136, allocations: 112.5 kB / 340.6 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.01166, allocations: 303.2 kB / 340.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.01169, allocations: 37.38 kB / 340.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.01179, allocations: 56.45 kB / 341 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.01216, allocations: 391.8 kB / 341.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.01218, allocations: 4.172 kB / 341.3 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.01221, allocations: 24.12 kB / 341.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.01222, allocations: 16 kB / 341.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.01239, allocations: 134.8 kB / 341.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.01372, allocations: 1.525 MB / 343 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.01394, allocations: 165.9 kB / 343.2 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.01399, allocations: 55.59 kB / 343.3 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.01401, allocations: 7.938 kB / 343.3 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.01403, allocations: 41.39 kB / 343.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.01403, allocations: 0 / 343.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.000356/0.01439, allocations: 222.7 kB / 343.5 MB, free: 6.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.01441, allocations: 55.41 kB / 343.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.01461, allocations: 342.1 kB / 343.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.01463, allocations: 29.7 kB / 343.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01478, allocations: 318.9 kB / 344.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.01483, allocations: 95.2 kB / 344.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.01489, allocations: 71.11 kB / 344.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004692/0.01536, allocations: 0.5195 MB / 344.9 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.0154, allocations: 31.97 kB / 345 MB, free: 5.371 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.01551, allocations: 163.8 kB / 345.1 MB, free: 5.148 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.01569, allocations: 241.6 kB / 345.4 MB, free: 4.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01569, allocations: 0 / 345.4 MB, free: 4.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000257/0.01595, allocations: 267 kB / 345.6 MB, free: 4.586 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01596, allocations: 10.81 kB / 345.6 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01597, allocations: 416 / 345.6 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/0.01607, allocations: 27.67 kB / 345.7 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01621, allocations: 67.91 kB / 345.7 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008015/0.01701, allocations: 1.717 MB / 347.4 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.01715, allocations: 35.8 kB / 347.5 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01717, allocations: 12.12 kB / 347.5 MB, free: 2.598 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 2 (switch.control,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.01732, allocations: 184.4 kB / 347.7 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.01738, allocations: 39.81 kB / 347.7 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.01742, allocations: 34.45 kB / 347.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01743, allocations: 7.938 kB / 347.8 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.01743, allocations: 0 / 347.8 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.01744, allocations: 3.984 kB / 347.8 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006793/0.01812, allocations: 0.5293 MB / 348.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01812, allocations: 0 / 348.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.01831, allocations: 55.91 kB / 348.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-05/0.01839, allocations: 19.67 kB / 348.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.0184, allocations: 7.938 kB / 348.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008411/0.01924, allocations: 1.709 MB / 350.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01924, allocations: 4 kB / 350.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.01961, allocations: 380.2 kB / 350.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.01969, allocations: 47.73 kB / 350.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.01972, allocations: 7.984 kB / 350.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.01985, allocations: 12 kB / 350.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.01989, allocations: 15.95 kB / 350.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.01991, allocations: 11.94 kB / 350.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.02005, allocations: 222.9 kB / 350.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02005, allocations: 0 / 350.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000399/0.02045, allocations: 123.7 kB / 350.9 MB, free: 15.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (inertiaLoad.w,integrator.y,heatCapacitor.T,dcpm.phi,dcpm.armatureInductance.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.02055, allocations: 107.2 kB / 351 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.02091, allocations: 317.8 kB / 351.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02091, allocations: 0 / 351.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.02108, allocations: 242.7 kB / 351.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.02149, allocations: 60.67 kB / 351.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.02338, allocations: 0.8856 MB / 352.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.04e-05/0.02346, allocations: 100.6 kB / 352.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.02358, allocations: 38.94 kB / 352.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.02376, allocations: 142.1 kB / 352.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02376, allocations: 0 / 352.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of Templates: time 0.008195/0.03196, allocations: 3.792 MB / 356.5 MB, free: 9.32 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.987788390368223]