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.0008255/0.0008255, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001928, 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.0007185/0.0007185, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009004/0.001619, 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 1.148/1.148, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.252, 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/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.008011/0.008011, allocations: 1.99 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0017/0.009711, allocations: 1.045 MB / 247.2 MB, free: 11.73 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 3.026e-06/3.026e-06, allocations: 4 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.89e-05, allocations: 6.25 kB / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01108/0.0111, allocations: 14.27 MB / 262.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007157/0.01826, allocations: 5.345 MB / 268.1 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.01931, allocations: 119.2 kB / 268.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.02097, allocations: 1.069 MB / 269.2 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.02305, allocations: 1.199 MB / 270.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.02413, allocations: 0.8023 MB / 271.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.02677, allocations: 3.377 MB / 274.6 MB, free: 160 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1452/0.1719, allocations: 1.467 MB / 276.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.1761, allocations: 2.57 MB / 278.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.1787, allocations: 1.517 MB / 280.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008598/0.1796, allocations: 381.5 kB / 280.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.1811, allocations: 0.5907 MB / 281.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006879/0.1817, allocations: 0.718 MB / 281.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.183, allocations: 0.9408 MB / 282.8 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.1866, allocations: 2.563 MB / 285.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.467e-05/0.1866, allocations: 0.8438 kB / 285.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1866, allocations: 3.656 kB / 285.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.1867, allocations: 1.281 kB / 285.4 MB, free: 3.273 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.005262/0.192, allocations: 4.02 MB / 289.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.192, allocations: 13.89 kB / 289.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.1936, allocations: 0.7119 MB / 290.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.1951, allocations: 1.177 MB / 291.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.1952, allocations: 189.8 kB / 291.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.1955, allocations: 258.2 kB / 291.7 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.1976, allocations: 1.893 MB / 293.6 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.472e-05/0.1976, allocations: 7.219 kB / 293.6 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.1978, allocations: 110.3 kB / 293.7 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.68e-05/0.1979, allocations: 118.2 kB / 293.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.199, allocations: 0.7735 MB / 294.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008381/0.2074, allocations: 7.236 MB / 301.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.2086, allocations: 0.9558 MB / 302.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.2091, allocations: 378.4 kB / 303.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.2092, allocations: 48.97 kB / 303.2 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2092, allocations: 51.55 kB / 303.3 MB, free: 9.934 MB / 282.7 MB Notification: Performance of pre-optimization done (n=110): time 3.287e-06/0.2092, allocations: 1.406 kB / 303.3 MB, free: 9.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.006184/0.2154, allocations: 3.579 MB / 306.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003211/0.2186, allocations: 3.21 MB / 310.1 MB, free: 3.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.2194, allocations: 1.022 MB / 311.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.2194, allocations: 53.7 kB / 311.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.2199, allocations: 1.061 MB / 312.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.2201, allocations: 0.5206 MB / 312.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.2204, allocations: 293.5 kB / 313 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.2205, allocations: 301.1 kB / 313.3 MB, free: 200 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.2209, allocations: 246.7 kB / 313.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.2215, allocations: 0.7617 MB / 314.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.2234, allocations: 1.209 MB / 315.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.2234, allocations: 4 kB / 315.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.001265/0.2246, allocations: 1.09 MB / 316.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2247, allocations: 13.56 kB / 316.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2247, allocations: 17.02 kB / 316.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.2248, allocations: 57.69 kB / 316.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/0.2257, allocations: 0.4905 MB / 317.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.2258, allocations: 31.03 kB / 317.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.2262, allocations: 59.94 kB / 317.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.2263, allocations: 59.98 kB / 317.3 MB, free: 11.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (218): * Single equations (assignments): 216 * 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.0005329/0.2268, allocations: 227.9 kB / 317.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.227, allocations: 147.8 kB / 317.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.2281, allocations: 0.9193 MB / 318.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.2282, allocations: 19.98 kB / 318.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2282, allocations: 0 / 318.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2282, allocations: 11.39 kB / 318.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.2322, allocations: 3.37 MB / 322 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.2322, allocations: 5.094 kB / 322 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.2327, allocations: 268.8 kB / 322.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.2333, allocations: 178.9 kB / 322.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006304/0.234, allocations: 331.1 kB / 322.8 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.234, allocations: 27.98 kB / 322.8 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.2365, allocations: 2.897 MB / 325.7 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002612/0.2391, allocations: 3.08 MB / 328.8 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.2408, allocations: 1.356 MB / 330.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.241, allocations: 41.77 kB / 330.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.2413, allocations: 39.98 kB / 330.2 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.2414, allocations: 111.1 kB / 330.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.2414, allocations: 28 kB / 330.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004779/0.2419, allocations: 0.5233 MB / 330.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2419, allocations: 4 kB / 330.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001086/0.243, allocations: 0.5156 MB / 331.4 MB, free: 13.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (118): * Single equations (assignments): 116 * 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.0002458/0.2433, allocations: 153.3 kB / 331.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.2443, allocations: 0.8527 MB / 332.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.303e-05/0.2443, allocations: 36.44 kB / 332.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.2451, allocations: 0.7913 MB / 333.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.2477, allocations: 4.209 MB / 337.5 MB, free: 7.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.2634, allocations: 4.471 MB / 341.9 MB, free: 2.703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.2639, allocations: 0.5236 MB / 342.4 MB, free: 2.152 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006981/0.2646, allocations: 242.7 kB / 342.7 MB, free: 1.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007291/0.2654, allocations: 451.1 kB / 343.1 MB, free: 1.465 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2654, allocations: 0 / 343.1 MB, free: 1.465 MB / 314.7 MB Notification: Performance of Templates: time 0.03486/0.3002, allocations: 28.85 MB / 372 MB, free: 5.133 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.3845212096348405]