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.0009189/0.0009189, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001036/0.001036, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9831/0.9831, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.008362/0.008362, allocations: 1.993 MB / 262.3 MB, free: 10.92 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.092e-06/1.092e-06, allocations: 3.938 kB / 332.6 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.174e-05, allocations: 2.312 kB / 332.6 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01151/0.01153, allocations: 14.1 MB / 346.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008071/0.0196, allocations: 5.103 MB / 351.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.02173, allocations: 111.3 kB / 351.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.02402, allocations: 1.052 MB / 353 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002526/0.02654, allocations: 1.203 MB / 354.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.0277, allocations: 0.7868 MB / 354.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.0305, allocations: 3.352 MB / 358.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.03188, allocations: 1.434 MB / 359.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.03423, allocations: 2.371 MB / 362.1 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.03562, allocations: 1.512 MB / 363.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000385/0.03601, allocations: 384 kB / 364 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.03678, allocations: 0.5816 MB / 364.6 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.03724, allocations: 0.8879 MB / 365.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008878/0.03813, allocations: 1.126 MB / 366.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.04079, allocations: 2.698 MB / 369.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.0408, allocations: 0 / 369.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0408, allocations: 0 / 369.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.164e-05/0.04084, allocations: 0 / 369.3 MB, free: 12.02 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.004096/0.04494, allocations: 3.593 MB / 372.9 MB, free: 8.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.04498, allocations: 12.03 kB / 372.9 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.04643, allocations: 0.7796 MB / 373.7 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.04813, allocations: 1.709 MB / 375.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/0.04823, allocations: 189.5 kB / 375.6 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.04845, allocations: 264.3 kB / 375.8 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.05047, allocations: 1.863 MB / 377.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.05051, allocations: 7.922 kB / 377.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.05066, allocations: 104 kB / 377.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.653e-05/0.05075, allocations: 113 kB / 377.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.05184, allocations: 0.7761 MB / 378.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008484/0.06033, allocations: 9.051 MB / 387.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.06218, allocations: 1.009 MB / 388.7 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.06269, allocations: 415.2 kB / 389.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/0.06463, allocations: 1.571 MB / 390.7 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.06466, allocations: 45.98 kB / 390.8 MB, free: 5.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 2.064e-06/0.06466, allocations: 0 / 390.8 MB, free: 5.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.004453/0.06912, allocations: 2.989 MB / 393.7 MB, free: 2.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003058/0.07217, allocations: 3.887 MB / 397.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009981/0.07317, allocations: 1.221 MB / 398.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.07323, allocations: 45.7 kB / 398.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006574/0.07389, allocations: 1.389 MB / 400.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.07412, allocations: 436.3 kB / 400.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.07439, allocations: 305 kB / 401 MB, free: 11.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.07449, allocations: 476.8 kB / 401.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.0748, allocations: 203.8 kB / 401.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.07543, allocations: 0.9929 MB / 402.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.07644, allocations: 1.3 MB / 404 MB, free: 7.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.07644, allocations: 8 kB / 404 MB, free: 7.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001357/0.0778, allocations: 1.231 MB / 405.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.07782, allocations: 16 kB / 405.2 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.07783, allocations: 16 kB / 405.2 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.07795, allocations: 67.33 kB / 405.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.07863, allocations: 367.4 kB / 405.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.07864, allocations: 39.98 kB / 405.7 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.07913, allocations: 51.94 kB / 405.8 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.0792, allocations: 59.98 kB / 405.8 MB, free: 5.941 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.0004776/0.07967, allocations: 256.1 kB / 406.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.07984, allocations: 199 kB / 406.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.08098, allocations: 0.9728 MB / 407.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.08099, allocations: 15.94 kB / 407.2 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.08099, allocations: 0 / 407.2 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.081, allocations: 7.969 kB / 407.3 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/0.08513, allocations: 3.727 MB / 411 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.08514, allocations: 4 kB / 411 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.08549, allocations: 159.8 kB / 411.1 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006189/0.08611, allocations: 311.6 kB / 411.4 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.08616, allocations: 24 kB / 411.5 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1288/0.215, allocations: 3.657 MB / 415.1 MB, free: 60.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00259/0.2176, allocations: 3.831 MB / 419 MB, free: 58.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.2192, allocations: 1.383 MB / 420.3 MB, free: 58.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.2195, allocations: 267 kB / 420.6 MB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.2196, allocations: 23.62 kB / 420.6 MB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.2199, allocations: 37.11 kB / 420.7 MB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.2201, allocations: 93.75 kB / 420.7 MB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.2201, allocations: 29.78 kB / 420.8 MB, free: 58.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005236/0.2206, allocations: 0.6575 MB / 421.4 MB, free: 58.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2206, allocations: 0.9844 kB / 421.4 MB, free: 58.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001202/0.2218, allocations: 0.4978 MB / 421.9 MB, free: 58.05 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.0002295/0.2221, allocations: 153 kB / 422.1 MB, free: 57.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.2231, allocations: 0.8145 MB / 422.9 MB, free: 57.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2231, allocations: 1.438 kB / 422.9 MB, free: 57.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007599/0.2238, allocations: 0.7436 MB / 423.6 MB, free: 57.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.2249, allocations: 431.5 kB / 424.1 MB, free: 57.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.2305, allocations: 4.287 MB / 428.3 MB, free: 55.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.2311, allocations: 0.6266 MB / 429 MB, free: 55.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007672/0.2319, allocations: 227.9 kB / 429.2 MB, free: 55.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006734/0.2325, allocations: 482.3 kB / 429.7 MB, free: 55.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2325, allocations: 0 / 429.7 MB, free: 55.46 MB / 330.7 MB Notification: Performance of Templates: time 0.03014/0.2627, allocations: 26.21 MB / 455.9 MB, free: 34.83 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.310526696033776]