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.0008047/0.0008047, allocations: 93.06 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.000892/0.000892, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9608/0.9608, allocations: 177.1 MB / 203.4 MB, free: 5.469 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.008347/0.008347, allocations: 2 MB / 261.9 MB, free: 10.91 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.483e-06/1.483e-06, allocations: 0 / 332.1 MB, free: 17.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.578e-05, allocations: 8.922 kB / 332.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01109/0.01112, allocations: 14.45 MB / 346.6 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008788/0.01991, allocations: 5.146 MB / 351.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.02228, allocations: 111.3 kB / 351.8 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.02481, allocations: 1.04 MB / 352.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.02787, allocations: 1.207 MB / 354.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.02931, allocations: 0.8141 MB / 354.9 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.03307, allocations: 3.339 MB / 358.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.03499, allocations: 1.438 MB / 359.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/0.03771, allocations: 2.374 MB / 362.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.03945, allocations: 1.5 MB / 363.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005132/0.03996, allocations: 380 kB / 363.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.04097, allocations: 0.5894 MB / 364.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000838/0.04181, allocations: 0.8841 MB / 365.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.0429, allocations: 1.119 MB / 366.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.04593, allocations: 2.706 MB / 369.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.04593, allocations: 4 kB / 369.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.04593, allocations: 0 / 369.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.645e-05/0.046, allocations: 0 / 369.2 MB, free: 11.92 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.00539/0.05139, allocations: 3.633 MB / 372.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.05143, allocations: 12.03 kB / 372.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.05345, allocations: 0.7952 MB / 373.7 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.05568, allocations: 1.771 MB / 375.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.0558, allocations: 189.5 kB / 375.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.05609, allocations: 256.3 kB / 375.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.05928, allocations: 2.031 MB / 377.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.396e-05/0.05934, allocations: 11.88 kB / 377.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.05952, allocations: 104 kB / 378 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.05964, allocations: 121 kB / 378.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/0.06509, allocations: 0.9663 MB / 379.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.07665, allocations: 9.068 MB / 388.2 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.07843, allocations: 1.068 MB / 389.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/0.07919, allocations: 467.2 kB / 389.7 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00243/0.08162, allocations: 1.602 MB / 391.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.08165, allocations: 42.05 kB / 391.3 MB, free: 5.191 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 2.505e-06/0.08166, allocations: 0 / 391.3 MB, free: 5.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.006901/0.08856, allocations: 3.506 MB / 394.8 MB, free: 1.641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004664/0.09322, allocations: 4.066 MB / 398.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.09484, allocations: 1.25 MB / 400.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.09495, allocations: 45.7 kB / 400.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.09597, allocations: 1.378 MB / 401.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.09628, allocations: 428.5 kB / 402 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.09663, allocations: 293.2 kB / 402.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.09673, allocations: 480.8 kB / 402.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.09724, allocations: 227.8 kB / 403 MB, free: 9.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/0.0981, allocations: 1.009 MB / 404 MB, free: 7.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.09958, allocations: 1.354 MB / 405.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.09959, allocations: 7.984 kB / 405.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002091/0.1017, allocations: 1.304 MB / 406.7 MB, free: 4.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.1017, allocations: 12 kB / 406.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.1017, allocations: 16 kB / 406.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.1019, allocations: 71.33 kB / 406.8 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.1032, allocations: 391.9 kB / 407.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.22e-05/0.1032, allocations: 43.8 kB / 407.2 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.104, allocations: 71.91 kB / 407.2 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.1041, allocations: 71.98 kB / 407.3 MB, free: 4.281 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.0005643/0.1046, allocations: 260 kB / 407.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.1048, allocations: 203 kB / 407.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.1067, allocations: 1.07 MB / 408.8 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1067, allocations: 12 kB / 408.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1067, allocations: 0 / 408.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.1067, allocations: 7.984 kB / 408.9 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1405/0.2472, allocations: 4.274 MB / 413.1 MB, free: 61.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.2472, allocations: 0 / 413.1 MB, free: 61.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.2478, allocations: 182.2 kB / 413.3 MB, free: 61.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009012/0.2487, allocations: 316.1 kB / 413.6 MB, free: 61.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.2487, allocations: 21.34 kB / 413.6 MB, free: 61.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/0.2526, allocations: 3.84 MB / 417.5 MB, free: 59.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0037/0.2563, allocations: 4 MB / 421.5 MB, free: 57.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.2584, allocations: 1.519 MB / 423 MB, free: 57.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.2589, allocations: 281.2 kB / 423.3 MB, free: 57.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.259, allocations: 20.91 kB / 423.3 MB, free: 57.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.2595, allocations: 51.55 kB / 423.3 MB, free: 57.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.2596, allocations: 94.91 kB / 423.4 MB, free: 57.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.2597, allocations: 35.45 kB / 423.5 MB, free: 57.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000849/0.2605, allocations: 0.7166 MB / 424.2 MB, free: 57.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2605, allocations: 0 / 424.2 MB, free: 57.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001503/0.262, allocations: 0.4953 MB / 424.7 MB, free: 57.07 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.0002634/0.2623, allocations: 151.5 kB / 424.8 MB, free: 56.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.2638, allocations: 0.8755 MB / 425.7 MB, free: 56.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.2638, allocations: 4.594 kB / 425.7 MB, free: 56.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.265, allocations: 0.7915 MB / 426.5 MB, free: 56.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.2664, allocations: 434.4 kB / 426.9 MB, free: 56.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006029/0.2724, allocations: 4.308 MB / 431.2 MB, free: 54.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.273, allocations: 0.628 MB / 431.9 MB, free: 54.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007807/0.2737, allocations: 307.4 kB / 432.2 MB, free: 54.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.274, allocations: 117.2 kB / 432.3 MB, free: 54.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.274, allocations: 0 / 432.3 MB, free: 54.57 MB / 330.7 MB Notification: Performance of Templates: time 0.03215/0.3061, allocations: 25.69 MB / 458 MB, free: 32.75 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.5299016600474715]