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.001368/0.001368, allocations: 80.75 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.001044/0.001044, 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.9591/0.9591, allocations: 177.1 MB / 203.8 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.00787/0.00787, allocations: 1.996 MB / 262.3 MB, free: 10.96 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.443e-06/1.443e-06, allocations: 0 / 279.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.967e-05, allocations: 2.312 kB / 279.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.1519/0.1519, allocations: 14.12 MB / 293.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008472/0.1603, allocations: 5.315 MB / 298.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.162, allocations: 111.6 kB / 298.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.1642, allocations: 1.064 MB / 299.9 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.1665, allocations: 1.214 MB / 301.1 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1678, allocations: 0.8098 MB / 301.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.1705, allocations: 3.359 MB / 305.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.1719, allocations: 1.469 MB / 306.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.1739, allocations: 2.373 MB / 309.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.1752, allocations: 1.524 MB / 310.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.1756, allocations: 382.1 kB / 311 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007345/0.1763, allocations: 0.5813 MB / 311.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.1768, allocations: 0.884 MB / 312.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000853/0.1776, allocations: 1.13 MB / 313.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.1796, allocations: 2.698 MB / 316.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1796, allocations: 0 / 316.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1796, allocations: 4 kB / 316.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.1796, allocations: 0 / 316.3 MB, free: 5.973 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.003815/0.1835, allocations: 3.359 MB / 319.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.1835, allocations: 8.031 kB / 319.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.1852, allocations: 0.7148 MB / 320.4 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.1867, allocations: 1.187 MB / 321.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/0.1868, allocations: 193.5 kB / 321.8 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.187, allocations: 260.2 kB / 322.1 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.1894, allocations: 1.888 MB / 323.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.253e-05/0.1894, allocations: 11.94 kB / 324 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.1896, allocations: 106.5 kB / 324.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.1897, allocations: 125 kB / 324.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.1911, allocations: 0.7678 MB / 325 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008399/0.1995, allocations: 7.196 MB / 332.1 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2009, allocations: 0.9695 MB / 333.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.2014, allocations: 376.4 kB / 333.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/0.2034, allocations: 1.258 MB / 334.7 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2034, allocations: 43.22 kB / 334.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=81): time 2.464e-06/0.2035, allocations: 0 / 334.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=117): time 0.005994/0.2094, allocations: 3.133 MB / 337.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00328/0.2127, allocations: 3.121 MB / 341 MB, free: 12.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/0.2136, allocations: 1.037 MB / 342.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.2137, allocations: 45.69 kB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007723/0.2144, allocations: 1.111 MB / 343.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.2147, allocations: 412.4 kB / 343.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.215, allocations: 279.3 kB / 343.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.2151, allocations: 305.1 kB / 344.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.2155, allocations: 218.8 kB / 344.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.2162, allocations: 0.7452 MB / 345.2 MB, free: 8.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2174, allocations: 1.103 MB / 346.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.2174, allocations: 4 kB / 346.3 MB, free: 6.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001454/0.2188, allocations: 1.011 MB / 347.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2188, allocations: 12 kB / 347.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.2189, allocations: 16 kB / 347.3 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.219, allocations: 65.67 kB / 347.4 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/0.2199, allocations: 371.9 kB / 347.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/0.2199, allocations: 35.86 kB / 347.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.2204, allocations: 48 kB / 347.8 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.2205, allocations: 63.61 kB / 347.9 MB, free: 5.141 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.0003714/0.2209, allocations: 220 kB / 348.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.2211, allocations: 127.9 kB / 348.2 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.2223, allocations: 0.8198 MB / 349 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2223, allocations: 12 kB / 349.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2223, allocations: 3.938 kB / 349.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2223, allocations: 7.984 kB / 349.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/0.2265, allocations: 2.919 MB / 352 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2265, allocations: 0 / 352 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.2268, allocations: 168.1 kB / 352.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000616/0.2274, allocations: 328.7 kB / 352.5 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.2275, allocations: 27.98 kB / 352.5 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.2298, allocations: 2.88 MB / 355.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002568/0.2324, allocations: 3.05 MB / 358.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2336, allocations: 1.177 MB / 359.6 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.2338, allocations: 178.9 kB / 359.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2339, allocations: 27.98 kB / 359.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.2342, allocations: 32 kB / 359.8 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2343, allocations: 88.75 kB / 359.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.2344, allocations: 27.98 kB / 359.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003803/0.2348, allocations: 0.5031 MB / 360.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2348, allocations: 4.031 kB / 360.5 MB, free: 8.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008918/0.2357, allocations: 0.5 MB / 361 MB, free: 7.598 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.0001934/0.2359, allocations: 138.9 kB / 361.1 MB, free: 7.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000854/0.2367, allocations: 0.7337 MB / 361.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.587e-05/0.2367, allocations: 21.81 kB / 361.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.2374, allocations: 0.6379 MB / 362.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.2383, allocations: 423.1 kB / 362.9 MB, free: 5.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.243, allocations: 4.19 MB / 367.1 MB, free: 1.348 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.2435, allocations: 0.518 MB / 367.6 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005093/0.244, allocations: 233.8 kB / 367.8 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.2446, allocations: 423.1 kB / 368.2 MB, free: 152 kB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2446, allocations: 0 / 368.2 MB, free: 152 kB / 314.7 MB Notification: Performance of Templates: time 0.03061/0.2752, allocations: 26.21 MB / 394.5 MB, free: 6.375 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 -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3107008067891]