Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.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.0006954/0.0006954, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009184/0.001614, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006987/0.0006987, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008704/0.001569, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.001/1.001, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1111/1.112, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.005592/0.005592, allocations: 1.198 MB / 245.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.007059, allocations: 0.8113 MB / 246 MB, free: 12.9 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.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.53e-05, allocations: 2.312 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.007434/0.007449, allocations: 6.435 MB / 253.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.0099, allocations: 2.172 MB / 255.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.01023, allocations: 47.62 kB / 255.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.01078, allocations: 397.2 kB / 256.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.01147, allocations: 0.5392 MB / 256.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.01172, allocations: 247.6 kB / 257.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.01295, allocations: 2.077 MB / 259.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007554/0.01371, allocations: 0.7841 MB / 259.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.015, allocations: 1.469 MB / 261.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007422/0.01574, allocations: 0.9353 MB / 262.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.01593, allocations: 224 kB / 262.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.01619, allocations: 244 kB / 262.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.01647, allocations: 478.8 kB / 263.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.01694, allocations: 0.5693 MB / 263.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.01803, allocations: 1.53 MB / 265.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.01804, allocations: 0 / 265.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01804, allocations: 4 kB / 265.4 MB, free: 9.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.01806, allocations: 0 / 265.4 MB, free: 9.359 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002134/0.0202, allocations: 2.277 MB / 267.6 MB, free: 7.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.02023, allocations: 11.98 kB / 267.7 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.02057, allocations: 329.8 kB / 268 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.02136, allocations: 0.7231 MB / 268.7 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.02142, allocations: 103.2 kB / 268.8 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.02155, allocations: 152.3 kB / 269 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.02263, allocations: 1.207 MB / 270.2 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.02266, allocations: 4 kB / 270.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.02275, allocations: 60 kB / 270.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/0.02281, allocations: 70.81 kB / 270.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.02336, allocations: 402.7 kB / 270.7 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.02689, allocations: 3.733 MB / 274.4 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1046/0.1315, allocations: 0.6486 MB / 275.1 MB, free: 20.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/0.1321, allocations: 0.4961 MB / 275.6 MB, free: 20.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-05/0.1322, allocations: 18.38 kB / 275.6 MB, free: 20.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1322, allocations: 49.77 kB / 275.6 MB, free: 20.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 4.538e-06/0.1322, allocations: 2.547 kB / 275.6 MB, free: 20.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.003433/0.1357, allocations: 1.533 MB / 277.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.1357, allocations: 64.77 kB / 277.2 MB, free: 20.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.1363, allocations: 0.6131 MB / 277.8 MB, free: 19.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.1363, allocations: 43.67 kB / 277.9 MB, free: 19.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.1366, allocations: 0.5263 MB / 278.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.1367, allocations: 347.7 kB / 278.7 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1369, allocations: 159 kB / 278.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.1369, allocations: 349.3 kB / 279.2 MB, free: 19.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1371, allocations: 116.2 kB / 279.4 MB, free: 19.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.1373, allocations: 244.3 kB / 279.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.1378, allocations: 462.2 kB / 280 MB, free: 18.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1378, allocations: 1.062 kB / 280.1 MB, free: 18.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008485/0.1386, allocations: 0.6581 MB / 280.7 MB, free: 18.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1386, allocations: 6.844 kB / 280.7 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1386, allocations: 6.078 kB / 280.7 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/0.1393, allocations: 320.9 kB / 281 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.1398, allocations: 187.7 kB / 281.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.1428, allocations: 5.151 MB / 286.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.1431, allocations: 68.8 kB / 286.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.1432, allocations: 24 kB / 286.5 MB, free: 15.05 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (integrator.local_reset,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.1434, allocations: 176.2 kB / 286.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1435, allocations: 95.06 kB / 286.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008626/0.1444, allocations: 0.7285 MB / 287.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1444, allocations: 9.625 kB / 287.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1444, allocations: 1.375 kB / 287.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1444, allocations: 3.703 kB / 287.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.1463, allocations: 1.551 MB / 289 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1463, allocations: 2.078 kB / 289 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.1467, allocations: 156.4 kB / 289.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.147, allocations: 154.3 kB / 289.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005871/0.1475, allocations: 337.4 kB / 289.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.1476, allocations: 24.22 kB / 289.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.1502, allocations: 5.067 MB / 294.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1502, allocations: 0 / 294.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000885/0.1511, allocations: 0.9138 MB / 295.7 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.1511, allocations: 17.48 kB / 295.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.1514, allocations: 40.91 kB / 295.7 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.1515, allocations: 81.39 kB / 295.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.1515, allocations: 17.36 kB / 295.8 MB, free: 9.906 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1517, allocations: 313 kB / 296.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1517, allocations: 3.719 kB / 296.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007127/0.1524, allocations: 474.6 kB / 296.6 MB, free: 9.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (inertiaLoad.w,integrator.y,heatCapacitor.T,smpm.phi,smpm.clarkeParkConverter.idq[1],smpm.clarkeParkConverter.idq[2],smpm.clarkeParkConverter.i0) * Number of discrete variables: 7 (switch.control,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001192/0.1526, allocations: 111.8 kB / 296.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009197/0.1535, allocations: 1.042 MB / 297.7 MB, free: 9.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/0.1535, allocations: 12.06 kB / 297.7 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.1541, allocations: 0.8375 MB / 298.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.1547, allocations: 417 kB / 299 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.1647, allocations: 2.96 MB / 302 MB, free: 4.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.165, allocations: 377.5 kB / 302.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.1652, allocations: 109 kB / 302.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.1656, allocations: 317.1 kB / 302.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1656, allocations: 3.719 kB / 302.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of Templates: time 0.02724/0.1929, allocations: 25.35 MB / 328.1 MB, free: 11.14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2303735902532935]