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.0009596/0.0009596, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009562/0.0009562, allocations: 169 kB / 23.02 MB, free: 1.547 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.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.00836/0.00836, allocations: 1.987 MB / 261.9 MB, free: 11.08 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.633e-06/1.633e-06, allocations: 0 / 332.1 MB, free: 17.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.87e-05, allocations: 6.312 kB / 332.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01083/0.01086, allocations: 14.45 MB / 346.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007613/0.01847, allocations: 5.142 MB / 351.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009355/0.0194, allocations: 115.2 kB / 351.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.02115, allocations: 1.04 MB / 352.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.02313, allocations: 1.215 MB / 354.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.02417, allocations: 0.7946 MB / 354.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002391/0.02657, allocations: 3.356 MB / 358.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.02794, allocations: 1.438 MB / 359.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.02955, allocations: 2.113 MB / 361.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.03087, allocations: 1.477 MB / 363.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003303/0.0312, allocations: 388 kB / 363.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008441/0.03205, allocations: 0.5855 MB / 364.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.03264, allocations: 0.9035 MB / 365.1 MB, free: 16 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008115/0.03345, allocations: 1.142 MB / 366.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.03576, allocations: 2.729 MB / 369 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.03576, allocations: 0 / 369 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.03576, allocations: 0 / 369 MB, free: 12.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.03578, allocations: 4 kB / 369 MB, free: 12.13 MB / 298.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.004275/0.04006, allocations: 3.707 MB / 372.7 MB, free: 8.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.0401, allocations: 12.02 kB / 372.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.04178, allocations: 0.8499 MB / 373.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.04374, allocations: 1.775 MB / 375.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.04385, allocations: 197.5 kB / 375.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.04411, allocations: 252.3 kB / 375.8 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.04677, allocations: 2.027 MB / 377.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.04682, allocations: 11.89 kB / 377.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.04698, allocations: 104 kB / 377.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.04708, allocations: 125 kB / 378.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.04889, allocations: 0.978 MB / 379 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008809/0.0577, allocations: 9.115 MB / 388.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.05933, allocations: 1.094 MB / 389.2 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/0.05998, allocations: 454.4 kB / 389.7 MB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.06198, allocations: 1.633 MB / 391.3 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.06202, allocations: 42.05 kB / 391.4 MB, free: 5.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 1.833e-06/0.06202, allocations: 0 / 391.4 MB, free: 5.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.005443/0.06746, allocations: 3.565 MB / 394.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004063/0.07153, allocations: 4.168 MB / 399.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.07271, allocations: 1.253 MB / 400.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.07277, allocations: 45.7 kB / 400.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/0.07344, allocations: 1.374 MB / 401.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.07368, allocations: 432.4 kB / 402.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.07399, allocations: 297.1 kB / 402.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.07409, allocations: 476.8 kB / 402.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.07447, allocations: 227.8 kB / 403.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.0752, allocations: 1.013 MB / 404.2 MB, free: 7.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.07642, allocations: 1.362 MB / 405.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.07643, allocations: 4 kB / 405.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001605/0.07803, allocations: 1.305 MB / 406.9 MB, free: 4.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.07805, allocations: 12 kB / 406.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.07807, allocations: 16 kB / 406.9 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.07822, allocations: 79.27 kB / 407 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.07901, allocations: 395.6 kB / 407.3 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.07903, allocations: 39.8 kB / 407.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.07951, allocations: 83.89 kB / 407.5 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.07959, allocations: 71.98 kB / 407.5 MB, free: 4.055 MB / 330.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.0004258/0.08002, allocations: 256 kB / 407.8 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.0802, allocations: 199 kB / 408 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.08183, allocations: 1.094 MB / 409.1 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.08184, allocations: 12 kB / 409.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.08184, allocations: 0 / 409.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.08185, allocations: 3.984 kB / 409.1 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.142/0.2239, allocations: 4.304 MB / 413.4 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2239, allocations: 3 kB / 413.4 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.2243, allocations: 188 kB / 413.6 MB, free: 61.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007894/0.2251, allocations: 327.3 kB / 413.9 MB, free: 61.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.2251, allocations: 23.92 kB / 413.9 MB, free: 61.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.2282, allocations: 3.911 MB / 417.8 MB, free: 59.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003058/0.2313, allocations: 4.089 MB / 421.9 MB, free: 57.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.2331, allocations: 1.531 MB / 423.5 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.2336, allocations: 292.7 kB / 423.7 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/0.2337, allocations: 21.88 kB / 423.8 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.234, allocations: 62.27 kB / 423.8 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2342, allocations: 97.05 kB / 423.9 MB, free: 57.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.2342, allocations: 33.56 kB / 424 MB, free: 57.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007891/0.235, allocations: 0.7187 MB / 424.7 MB, free: 57.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.235, allocations: 3.375 kB / 424.7 MB, free: 57.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001321/0.2363, allocations: 0.5055 MB / 425.2 MB, free: 57.18 MB / 330.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.0002374/0.2366, allocations: 158 kB / 425.3 MB, free: 57.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.238, allocations: 0.8795 MB / 426.2 MB, free: 57.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.238, allocations: 1.375 kB / 426.2 MB, free: 57.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.239, allocations: 0.7981 MB / 427 MB, free: 56.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.2401, allocations: 419.9 kB / 427.4 MB, free: 56.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.2455, allocations: 4.327 MB / 431.7 MB, free: 54.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.2459, allocations: 0.619 MB / 432.4 MB, free: 54.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006198/0.2466, allocations: 318 kB / 432.7 MB, free: 54.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.2468, allocations: 117.2 kB / 432.8 MB, free: 54.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2468, allocations: 0 / 432.8 MB, free: 54.68 MB / 330.7 MB Notification: Performance of Templates: time 0.02832/0.2751, allocations: 25.09 MB / 457.9 MB, free: 33.13 MB / 330.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.4937624889425933]