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.0008501/0.0008501, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009089/0.001759, allocations: 440 kB / 10.41 MB, free: 284 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.0006923/0.0006923, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008966/0.001589, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.8916/0.8916, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07944/0.971, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.004491/0.004491, allocations: 1.193 MB / 245.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.006171, allocations: 0.8229 MB / 246.2 MB, free: 12.79 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.242e-06/1.242e-06, allocations: 0 / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.324e-06/8.566e-06, allocations: 6.312 kB / 247.5 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.00511/0.005118, allocations: 6.443 MB / 253.9 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.008027, allocations: 2.172 MB / 256.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.008421, allocations: 43.69 kB / 256.1 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.009075, allocations: 405.2 kB / 256.5 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007456/0.00982, allocations: 0.5353 MB / 257 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.0101, allocations: 251.6 kB / 257.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.01128, allocations: 2.066 MB / 259.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006052/0.01189, allocations: 0.788 MB / 260.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.01328, allocations: 1.473 MB / 261.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.01398, allocations: 0.9431 MB / 262.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.01416, allocations: 224 kB / 262.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.01444, allocations: 240 kB / 263 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.01471, allocations: 482.8 kB / 263.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.01513, allocations: 0.5732 MB / 264.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.01617, allocations: 1.523 MB / 265.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.01617, allocations: 0 / 265.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01617, allocations: 0 / 265.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.01619, allocations: 4 kB / 265.6 MB, free: 9.219 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.002209/0.0184, allocations: 2.28 MB / 267.9 MB, free: 6.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.01843, allocations: 11.98 kB / 267.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.01876, allocations: 329.8 kB / 268.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/0.01951, allocations: 0.7231 MB / 268.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.01957, allocations: 103.2 kB / 269 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.0197, allocations: 148.3 kB / 269.2 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.02076, allocations: 1.207 MB / 270.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.02078, allocations: 7.984 kB / 270.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.02086, allocations: 56 kB / 270.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/0.02092, allocations: 74.8 kB / 270.5 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.02147, allocations: 402.7 kB / 270.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1104/0.1319, allocations: 3.736 MB / 274.6 MB, free: 19.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000944/0.1328, allocations: 0.6513 MB / 275.3 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007239/0.1336, allocations: 0.5016 MB / 275.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.1336, allocations: 16.19 kB / 275.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1336, allocations: 48.91 kB / 275.9 MB, free: 19.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.866e-06/0.1336, allocations: 0 / 275.9 MB, free: 19.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.003306/0.1369, allocations: 1.531 MB / 277.4 MB, free: 19.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.137, allocations: 62.73 kB / 277.4 MB, free: 19.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.1375, allocations: 0.61 MB / 278.1 MB, free: 18.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.1375, allocations: 45.59 kB / 278.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1377, allocations: 0.5334 MB / 278.6 MB, free: 18.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.1378, allocations: 344.1 kB / 279 MB, free: 18.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.138, allocations: 160.4 kB / 279.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.1381, allocations: 352.1 kB / 279.5 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1382, allocations: 118.9 kB / 279.6 MB, free: 18.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.1384, allocations: 242.6 kB / 279.8 MB, free: 18.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.1389, allocations: 465.2 kB / 280.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1389, allocations: 1.312 kB / 280.3 MB, free: 17.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008808/0.1398, allocations: 0.661 MB / 280.9 MB, free: 17.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1398, allocations: 5.594 kB / 280.9 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1398, allocations: 3.406 kB / 280.9 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.1405, allocations: 321.8 kB / 281.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.141, allocations: 183.8 kB / 281.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.1439, allocations: 5.14 MB / 286.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.1442, allocations: 68.73 kB / 286.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.1442, allocations: 22.02 kB / 286.7 MB, free: 14.02 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.0002776/0.1445, allocations: 176.9 kB / 286.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1447, allocations: 93.64 kB / 286.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.1457, allocations: 0.7293 MB / 287.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1457, allocations: 12.36 kB / 287.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1457, allocations: 1.375 kB / 287.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1457, allocations: 2.25 kB / 287.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.148, allocations: 1.554 MB / 289.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.148, allocations: 0 / 289.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.1485, allocations: 159.2 kB / 289.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.1488, allocations: 158.2 kB / 289.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007284/0.1495, allocations: 340.7 kB / 289.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.1496, allocations: 17.91 kB / 289.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.1527, allocations: 5.051 MB / 294.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1527, allocations: 0 / 294.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1538, allocations: 0.9218 MB / 295.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.1539, allocations: 19.53 kB / 295.9 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.1542, allocations: 32.83 kB / 295.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.1544, allocations: 86.83 kB / 296 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.1544, allocations: 13.88 kB / 296 MB, free: 9.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.1547, allocations: 307.1 kB / 296.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1547, allocations: 0 / 296.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009308/0.1556, allocations: 479.7 kB / 296.8 MB, free: 8.957 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.0001478/0.1558, allocations: 121.6 kB / 296.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.157, allocations: 1.056 MB / 298 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.075e-05/0.157, allocations: 15.56 kB / 298 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007983/0.1578, allocations: 0.8792 MB / 298.9 MB, free: 7.449 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.1591, allocations: 3.469 MB / 302.3 MB, free: 3.281 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.1732, allocations: 2.953 MB / 305.3 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1735, allocations: 381.6 kB / 305.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000326/0.1738, allocations: 105 kB / 305.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008738/0.1747, allocations: 321 kB / 306.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1747, allocations: 0 / 306.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of Templates: time 0.03334/0.208, allocations: 25.49 MB / 331.6 MB, free: 6.469 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.1556585310027]