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.001009/0.001009, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009304/0.0009304, allocations: 173 kB / 23.49 MB, free: 1.059 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.9816/0.9816, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.01142/0.01142, allocations: 1.996 MB / 262.3 MB, free: 11.15 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.212e-06/1.212e-06, allocations: 0 / 332.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.761e-05, allocations: 4.703 kB / 332.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01134/0.01135, allocations: 14.38 MB / 346.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007642/0.019, allocations: 5.121 MB / 351.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.02023, allocations: 111.3 kB / 351.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.02199, allocations: 1.036 MB / 352.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.02406, allocations: 1.219 MB / 354 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.02525, allocations: 0.8063 MB / 354.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.02808, allocations: 3.356 MB / 358.2 MB, free: 8.457 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.02954, allocations: 1.43 MB / 359.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.03141, allocations: 2.121 MB / 361.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.03268, allocations: 1.473 MB / 363.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.033, allocations: 388 kB / 363.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009164/0.03392, allocations: 0.5894 MB / 364.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005755/0.0345, allocations: 0.9074 MB / 365.1 MB, free: 1.484 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008476/0.03534, allocations: 1.13 MB / 366.2 MB, free: 360 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.03787, allocations: 2.729 MB / 368.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.03787, allocations: 0 / 368.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03787, allocations: 3.938 kB / 368.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.03789, allocations: 0 / 368.9 MB, free: 13.61 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.004253/0.04215, allocations: 3.711 MB / 372.6 MB, free: 9.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.04219, allocations: 16.03 kB / 372.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.04398, allocations: 0.846 MB / 373.5 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.04579, allocations: 1.783 MB / 375.3 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.536e-05/0.04588, allocations: 189.5 kB / 375.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.04612, allocations: 252.4 kB / 375.7 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.04865, allocations: 2.027 MB / 377.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/0.04871, allocations: 15.89 kB / 377.8 MB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.04886, allocations: 103.9 kB / 377.9 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.682e-05/0.04896, allocations: 121 kB / 378 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.05075, allocations: 0.9741 MB / 379 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008365/0.05912, allocations: 9.111 MB / 388.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.06061, allocations: 1.079 MB / 389.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.06124, allocations: 458.4 kB / 389.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/0.06315, allocations: 1.629 MB / 391.2 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.06318, allocations: 45.98 kB / 391.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 1.623e-06/0.06318, allocations: 0 / 391.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.005341/0.06852, allocations: 3.569 MB / 394.8 MB, free: 3.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003838/0.07236, allocations: 4.164 MB / 399 MB, free: 14.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.07354, allocations: 1.253 MB / 400.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.07359, allocations: 41.7 kB / 400.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/0.07427, allocations: 1.385 MB / 401.7 MB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.0745, allocations: 428.4 kB / 402.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.07479, allocations: 297.1 kB / 402.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.07489, allocations: 476.8 kB / 402.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.07526, allocations: 231.8 kB / 403.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/0.07602, allocations: 1.009 MB / 404.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.07726, allocations: 1.362 MB / 405.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.07727, allocations: 8 kB / 405.5 MB, free: 7.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001581/0.07885, allocations: 1.309 MB / 406.8 MB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.07887, allocations: 14.81 kB / 406.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.07889, allocations: 16 kB / 406.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.07905, allocations: 71.33 kB / 406.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.07984, allocations: 395.4 kB / 407.3 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.07986, allocations: 43.92 kB / 407.3 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.08038, allocations: 87.89 kB / 407.4 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.08045, allocations: 71.98 kB / 407.5 MB, free: 5.535 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.0004729/0.08092, allocations: 260 kB / 407.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.08112, allocations: 195 kB / 407.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.08264, allocations: 1.086 MB / 409 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.08265, allocations: 8 kB / 409 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.08265, allocations: 4 kB / 409 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.08266, allocations: 3.984 kB / 409 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.08756, allocations: 4.301 MB / 413.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.08756, allocations: 0 / 413.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.08798, allocations: 187.8 kB / 413.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007612/0.08874, allocations: 335.3 kB / 413.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.08879, allocations: 39.97 kB / 413.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.09233, allocations: 3.903 MB / 417.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003639/0.09597, allocations: 4.08 MB / 421.8 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.09797, allocations: 1.537 MB / 423.4 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.09838, allocations: 290.8 kB / 423.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.09849, allocations: 28.03 kB / 423.7 MB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.09887, allocations: 59.94 kB / 423.7 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.09902, allocations: 104.6 kB / 423.8 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.09907, allocations: 35.98 kB / 423.9 MB, free: 4.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007302/0.0998, allocations: 0.7141 MB / 424.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0998, allocations: 0 / 424.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001285/0.1011, allocations: 0.5078 MB / 425.1 MB, free: 3.344 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.0002425/0.1013, allocations: 154.9 kB / 425.3 MB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.1026, allocations: 0.8784 MB / 426.1 MB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1026, allocations: 3.984 kB / 426.1 MB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009007/0.1035, allocations: 0.7989 MB / 426.9 MB, free: 1.477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.1046, allocations: 438.3 kB / 427.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.1096, allocations: 4.311 MB / 431.7 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.1101, allocations: 0.6272 MB / 432.3 MB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006287/0.1107, allocations: 317.6 kB / 432.6 MB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.1109, allocations: 112.5 kB / 432.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1109, allocations: 4 kB / 432.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of Templates: time 0.1458/0.2567, allocations: 25.09 MB / 457.8 MB, free: 141 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.4337986891623586]