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.001045/0.001045, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001135/0.001135, allocations: 181 kB / 23.36 MB, free: 1.133 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.9961/0.9961, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.01443/0.01443, allocations: 1.992 MB / 262.3 MB, free: 10.95 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.303e-06/1.303e-06, allocations: 0 / 279.4 MB, free: 9.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.679e-05, allocations: 4.562 kB / 279.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.1218/0.1218, allocations: 14.15 MB / 293.5 MB, free: 20.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008092/0.1299, allocations: 5.309 MB / 298.8 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.1316, allocations: 115.7 kB / 298.9 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.1337, allocations: 1.072 MB / 300 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.136, allocations: 1.206 MB / 301.2 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1373, allocations: 0.8084 MB / 302 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.1403, allocations: 3.356 MB / 305.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.1419, allocations: 1.476 MB / 306.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.1442, allocations: 2.375 MB / 309.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.1458, allocations: 1.519 MB / 310.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004764/0.1463, allocations: 382.2 kB / 311.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008432/0.1471, allocations: 0.594 MB / 311.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.1475, allocations: 0.8919 MB / 312.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.1484, allocations: 1.115 MB / 313.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.1508, allocations: 2.71 MB / 316.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1508, allocations: 0 / 316.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1508, allocations: 0 / 316.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.477e-05/0.1508, allocations: 0 / 316.4 MB, free: 5.852 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.003761/0.1546, allocations: 3.363 MB / 319.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1546, allocations: 16.03 kB / 319.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.1561, allocations: 0.707 MB / 320.5 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.1575, allocations: 1.183 MB / 321.7 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.1576, allocations: 185.5 kB / 321.9 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.1578, allocations: 260.3 kB / 322.1 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.1599, allocations: 1.899 MB / 324 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.16, allocations: 7.891 kB / 324.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.1601, allocations: 107.9 kB / 324.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-05/0.1602, allocations: 117 kB / 324.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1614, allocations: 0.7756 MB / 325.1 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007924/0.1694, allocations: 7.195 MB / 332.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.1705, allocations: 0.9702 MB / 333.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.171, allocations: 372.5 kB / 333.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/0.173, allocations: 1.266 MB / 334.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.173, allocations: 47.19 kB / 334.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=81): time 1.834e-06/0.173, allocations: 0 / 334.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=117): time 0.006152/0.1792, allocations: 3.133 MB / 338 MB, free: 15.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003617/0.1828, allocations: 3.121 MB / 341.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.1841, allocations: 1.041 MB / 342.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/0.1841, allocations: 45.7 kB / 342.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/0.1847, allocations: 1.115 MB / 343.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.185, allocations: 412.4 kB / 343.7 MB, free: 9.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.1853, allocations: 279.3 kB / 344 MB, free: 9.477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.1853, allocations: 301.1 kB / 344.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.1858, allocations: 214.8 kB / 344.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/0.1865, allocations: 0.753 MB / 345.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.1878, allocations: 1.095 MB / 346.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.1878, allocations: 8 kB / 346.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001576/0.1894, allocations: 1.007 MB / 347.4 MB, free: 5.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1894, allocations: 12 kB / 347.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.1894, allocations: 19.98 kB / 347.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.1895, allocations: 57.69 kB / 347.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.1906, allocations: 419.3 kB / 347.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.959e-05/0.1907, allocations: 31.88 kB / 347.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.1913, allocations: 55.98 kB / 348 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.1914, allocations: 63.92 kB / 348 MB, free: 4.961 MB / 298.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.0007447/0.1921, allocations: 220 kB / 348.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.1923, allocations: 123.9 kB / 348.4 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.1937, allocations: 0.8237 MB / 349.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.1937, allocations: 19.92 kB / 349.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1937, allocations: 0 / 349.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1937, allocations: 3.984 kB / 349.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.1983, allocations: 2.919 MB / 352.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.1983, allocations: 4 kB / 352.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.1989, allocations: 183.8 kB / 352.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000846/0.1997, allocations: 325 kB / 352.6 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.1998, allocations: 31.98 kB / 352.7 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.2033, allocations: 2.896 MB / 355.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003283/0.2065, allocations: 3.058 MB / 358.6 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.2082, allocations: 1.184 MB / 359.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.2086, allocations: 170.9 kB / 360 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.2087, allocations: 24 kB / 360 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.2092, allocations: 39.92 kB / 360 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.2093, allocations: 96.69 kB / 360.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.2094, allocations: 23.98 kB / 360.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005451/0.2099, allocations: 0.4993 MB / 360.7 MB, free: 7.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2099, allocations: 4.031 kB / 360.7 MB, free: 7.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004381/0.2143, allocations: 0.4922 MB / 361.1 MB, free: 7.379 MB / 314.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.000222/0.2145, allocations: 140.2 kB / 361.3 MB, free: 7.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2156, allocations: 0.7336 MB / 362 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.508e-05/0.2157, allocations: 21.81 kB / 362 MB, free: 6.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004065/0.2197, allocations: 0.6458 MB / 362.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.2209, allocations: 431.5 kB / 363.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.2328, allocations: 4.178 MB / 367.3 MB, free: 1.125 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.2334, allocations: 0.518 MB / 367.8 MB, free: 0.582 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000723/0.2341, allocations: 233.8 kB / 368 MB, free: 356 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003835/0.2379, allocations: 431.1 kB / 368.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.2379, allocations: 0 / 368.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of Templates: time 0.05485/0.2928, allocations: 26.32 MB / 394.8 MB, free: 6.027 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.300495383795351]