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.0009969/0.0009969, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001089/0.001089, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9734/0.9734, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.01208/0.01208, allocations: 2.003 MB / 263 MB, free: 10.89 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 2.275e-06/2.275e-06, allocations: 3.938 kB / 333.4 MB, free: 1.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.996e-05, allocations: 6.312 kB / 333.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01338/0.01341, allocations: 14.11 MB / 347.5 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009739/0.02315, allocations: 5.098 MB / 352.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.02631, allocations: 111.3 kB / 352.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.02935, allocations: 1.048 MB / 353.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.03307, allocations: 1.203 MB / 354.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.03467, allocations: 0.8024 MB / 355.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004097/0.03876, allocations: 3.35 MB / 359.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.04094, allocations: 1.43 MB / 360.5 MB, free: 6.648 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.04424, allocations: 2.371 MB / 362.9 MB, free: 4.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.04648, allocations: 1.512 MB / 364.4 MB, free: 2.758 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.04754, allocations: 384 kB / 364.8 MB, free: 2.383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.04909, allocations: 0.5855 MB / 365.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009416/0.05004, allocations: 0.8879 MB / 366.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.05238, allocations: 1.119 MB / 367.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.05636, allocations: 2.698 MB / 370.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.05636, allocations: 3.938 kB / 370.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.05636, allocations: 0 / 370.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00013/0.05649, allocations: 0 / 370.1 MB, free: 13.07 MB / 346.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.005627/0.06212, allocations: 3.593 MB / 373.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.06216, allocations: 12.03 kB / 373.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.06377, allocations: 0.7796 MB / 374.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.06597, allocations: 1.705 MB / 376.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.06607, allocations: 185.5 kB / 376.3 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/0.06632, allocations: 256.3 kB / 376.6 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.06857, allocations: 1.867 MB / 378.5 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/0.06862, allocations: 15.88 kB / 378.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.06877, allocations: 103.9 kB / 378.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-05/0.06887, allocations: 121 kB / 378.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.07004, allocations: 0.7684 MB / 379.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009783/0.07982, allocations: 9.048 MB / 388.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.0814, allocations: 0.99 MB / 389.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.08188, allocations: 411.2 kB / 389.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002171/0.08405, allocations: 1.571 MB / 391.5 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.08409, allocations: 46.05 kB / 391.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 2.736e-06/0.0841, allocations: 0 / 391.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.004909/0.08901, allocations: 2.985 MB / 394.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003452/0.09246, allocations: 3.898 MB / 398.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.09354, allocations: 1.221 MB / 399.6 MB, free: 14.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.0936, allocations: 45.7 kB / 399.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006978/0.0943, allocations: 1.385 MB / 401 MB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.09457, allocations: 432.4 kB / 401.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.09486, allocations: 305 kB / 401.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.09497, allocations: 480.7 kB / 402.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.09529, allocations: 203.8 kB / 402.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.09621, allocations: 0.989 MB / 403.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.0974, allocations: 1.296 MB / 404.7 MB, free: 8.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.09741, allocations: 8 kB / 404.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001835/0.09924, allocations: 1.242 MB / 406 MB, free: 7.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.09927, allocations: 12 kB / 406 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.09929, allocations: 16 kB / 406 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.09944, allocations: 67.33 kB / 406.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.1002, allocations: 363.7 kB / 406.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.1002, allocations: 43.84 kB / 406.5 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.1008, allocations: 51.94 kB / 406.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.1009, allocations: 59.98 kB / 406.6 MB, free: 7.012 MB / 378.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.0005658/0.1014, allocations: 260 kB / 406.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.1016, allocations: 195 kB / 407 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.1029, allocations: 0.9768 MB / 408 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.1029, allocations: 15.94 kB / 408 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1029, allocations: 0 / 408 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.1029, allocations: 7.969 kB / 408 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005212/0.1081, allocations: 3.727 MB / 411.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1081, allocations: 0 / 411.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.1085, allocations: 167.8 kB / 411.9 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007007/0.1092, allocations: 311.6 kB / 412.2 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.1093, allocations: 24 kB / 412.2 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.1127, allocations: 3.668 MB / 415.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003568/0.1162, allocations: 3.837 MB / 419.7 MB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.1182, allocations: 1.372 MB / 421.1 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.1186, allocations: 274.9 kB / 421.4 MB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.1187, allocations: 23.98 kB / 421.4 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.1191, allocations: 32 kB / 421.4 MB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.1192, allocations: 100.7 kB / 421.5 MB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.1193, allocations: 31.92 kB / 421.6 MB, free: 7.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006026/0.1199, allocations: 0.6592 MB / 422.2 MB, free: 6.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1199, allocations: 0 / 422.2 MB, free: 6.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001324/0.1212, allocations: 0.4922 MB / 422.7 MB, free: 6.355 MB / 394.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.0002295/0.1214, allocations: 151 kB / 422.9 MB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1225, allocations: 0.8151 MB / 423.7 MB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1225, allocations: 0 / 423.7 MB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.1236, allocations: 0.7487 MB / 424.4 MB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.1247, allocations: 438.5 kB / 424.9 MB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.1305, allocations: 4.291 MB / 429.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.131, allocations: 0.6193 MB / 429.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007396/0.1318, allocations: 229.8 kB / 430 MB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/0.1324, allocations: 481.9 kB / 430.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.854e-06/0.1325, allocations: 4 kB / 430.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of Templates: time 0.163/0.2954, allocations: 26.63 MB / 457.1 MB, free: 118.7 MB / 410.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.593778368085623]