Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.SMPM_NominalOperation.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.001/0.001, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002636, 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.001123/0.001123, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002537, allocations: 463.6 kB / 11.69 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 0.9683/0.9683, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08832/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.007855/0.007855, allocations: 1.986 MB / 246 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002535/0.01039, allocations: 1.063 MB / 247 MB, free: 11.82 MB / 250.7 MB " [Timeout remaining time 180] Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.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(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") translateModel(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.493e-05, allocations: 2.312 kB / 248.3 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01743/0.01746, allocations: 14.26 MB / 262.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.02828, allocations: 5.349 MB / 267.9 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.03097, allocations: 111.3 kB / 268 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.03343, allocations: 1.077 MB / 269 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.03639, allocations: 1.199 MB / 270.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.03774, allocations: 0.7984 MB / 271 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.04121, allocations: 3.378 MB / 274.4 MB, free: 296 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1222/0.1634, allocations: 1.465 MB / 275.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.1672, allocations: 2.571 MB / 278.5 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.1697, allocations: 1.511 MB / 280 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006138/0.1703, allocations: 382 kB / 280.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1715, allocations: 0.5945 MB / 280.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006152/0.1721, allocations: 0.7129 MB / 281.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.1733, allocations: 0.9426 MB / 282.6 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.1765, allocations: 2.567 MB / 285.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.1765, allocations: 0 / 285.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1765, allocations: 0.5312 kB / 285.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.315e-05/0.1765, allocations: 0 / 285.2 MB, free: 3.297 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: 673 * Number of variables: 673 Notification: Performance of Generate backend data structure: time 0.004954/0.1815, allocations: 4.023 MB / 289.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1815, allocations: 9.906 kB / 289.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.183, allocations: 0.7155 MB / 289.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.1844, allocations: 1.182 MB / 291.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.1845, allocations: 191.3 kB / 291.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.1847, allocations: 258.5 kB / 291.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.1866, allocations: 1.893 MB / 293.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.51e-05/0.1866, allocations: 3.859 kB / 293.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.1868, allocations: 109.2 kB / 293.5 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.946e-05/0.1869, allocations: 122.9 kB / 293.7 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1879, allocations: 0.7712 MB / 294.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007869/0.1958, allocations: 7.247 MB / 301.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.197, allocations: 0.9559 MB / 302.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.1974, allocations: 367.7 kB / 303 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002099/0.1995, allocations: 1.269 MB / 304.3 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1996, allocations: 39.22 kB / 304.3 MB, free: 9.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=81): time 2.494e-06/0.1996, allocations: 0 / 304.3 MB, free: 9.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=117): time 0.005193/0.2048, allocations: 3.139 MB / 307.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002843/0.2076, allocations: 3.148 MB / 310.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008235/0.2084, allocations: 1.03 MB / 311.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.2085, allocations: 45.7 kB / 311.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.2089, allocations: 1.114 MB / 312.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2091, allocations: 420.7 kB / 313.2 MB, free: 384 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.2094, allocations: 274.5 kB / 313.4 MB, free: 132 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.2095, allocations: 301.1 kB / 313.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.2098, allocations: 214.8 kB / 314 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.2103, allocations: 0.7464 MB / 314.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.2113, allocations: 1.096 MB / 315.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.2113, allocations: 4 kB / 315.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001154/0.2124, allocations: 1.02 MB / 316.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2124, allocations: 12 kB / 316.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.2125, allocations: 18.41 kB / 316.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.2126, allocations: 65.58 kB / 316.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.2134, allocations: 442.6 kB / 317.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.2134, allocations: 36.03 kB / 317.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.2139, allocations: 48 kB / 317.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.214, allocations: 67.17 kB / 317.5 MB, free: 11.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006175/0.2146, allocations: 221.4 kB / 317.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.2148, allocations: 127.9 kB / 317.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.2158, allocations: 0.8166 MB / 318.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2158, allocations: 12 kB / 318.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2158, allocations: 3.938 kB / 318.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2158, allocations: 11.97 kB / 318.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.2196, allocations: 2.914 MB / 321.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2196, allocations: 4 kB / 321.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.2201, allocations: 206.6 kB / 321.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.2204, allocations: 166.9 kB / 322 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006709/0.2211, allocations: 329.5 kB / 322.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.2211, allocations: 27.94 kB / 322.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.2237, allocations: 2.877 MB / 325.2 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002563/0.2262, allocations: 3.088 MB / 328.3 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2275, allocations: 1.18 MB / 329.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.2277, allocations: 27.98 kB / 329.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.228, allocations: 35.22 kB / 329.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2281, allocations: 96.69 kB / 329.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.2282, allocations: 27.98 kB / 329.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004631/0.2286, allocations: 0.5 MB / 330.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2286, allocations: 0 / 330.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001303/0.2299, allocations: 0.4999 MB / 330.6 MB, free: 14.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 ($STATESET1.x) * 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 (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/0.2301, allocations: 140.5 kB / 330.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009877/0.2311, allocations: 0.7287 MB / 331.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.696e-05/0.2312, allocations: 42.55 kB / 331.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000732/0.2319, allocations: 0.6222 MB / 332.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.2331, allocations: 0.543 MB / 332.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.2522, allocations: 4.33 MB / 337 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.2528, allocations: 0.5242 MB / 337.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008489/0.2537, allocations: 225.8 kB / 337.8 MB, free: 7.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/0.2543, allocations: 427.1 kB / 338.2 MB, free: 7.281 MB / 314.7 MB Notification: Performance of SimCode: time 1.774e-06/0.2543, allocations: 0 / 338.2 MB, free: 7.281 MB / 314.7 MB Notification: Performance of Templates: time 0.03597/0.2903, allocations: 27.45 MB / 365.7 MB, free: 12.34 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f BLDC_BLDC.Examples.SMPM_NominalOperation.makefile [Timeout 660] (rm -f BLDC_BLDC.Examples.SMPM_NominalOperation.pipe ; mkfifo BLDC_BLDC.Examples.SMPM_NominalOperation.pipe ; head -c 1048576 < BLDC_BLDC.Examples.SMPM_NominalOperation.pipe >> ../files/BLDC_BLDC.Examples.SMPM_NominalOperation.sim & ./BLDC_BLDC.Examples.SMPM_NominalOperation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1566841704770923]