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.0008162/0.0008162, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007841/0.0007841, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8575/0.8575, allocations: 177.1 MB / 203.5 MB, free: 5.711 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.007721/0.007721, allocations: 1.988 MB / 261.9 MB, free: 11.27 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.883e-06/1.883e-06, allocations: 0 / 385.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.586e-05, allocations: 5.656 kB / 385.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01397/0.014, allocations: 12.93 MB / 398.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.02369, allocations: 4.949 MB / 403.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.02532, allocations: 111.3 kB / 403.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.02764, allocations: 1.04 MB / 404.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.03057, allocations: 1.199 MB / 405.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.03199, allocations: 0.7931 MB / 406.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003378/0.03537, allocations: 3.35 MB / 409.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.03735, allocations: 1.43 MB / 411.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1545/0.1919, allocations: 2.093 MB / 413.4 MB, free: 18.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.1941, allocations: 1.346 MB / 414.8 MB, free: 18.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006498/0.1948, allocations: 387.2 kB / 415.1 MB, free: 18.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009997/0.1958, allocations: 0.5892 MB / 415.7 MB, free: 18.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000518/0.1963, allocations: 0.8858 MB / 416.6 MB, free: 18.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009305/0.1972, allocations: 1.122 MB / 417.7 MB, free: 18.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.2014, allocations: 5.195 MB / 422.9 MB, free: 18.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2014, allocations: 3.422 kB / 422.9 MB, free: 18.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2014, allocations: 0 / 422.9 MB, free: 18.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.427e-05/0.2015, allocations: 1.969 kB / 422.9 MB, free: 18.12 MB / 330.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.004817/0.2063, allocations: 3.481 MB / 426.4 MB, free: 16.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2063, allocations: 14.09 kB / 426.4 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.2077, allocations: 0.5578 MB / 427 MB, free: 16.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.2096, allocations: 1.798 MB / 428.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/0.2097, allocations: 188.2 kB / 429 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.21, allocations: 263.4 kB / 429.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003437/0.2135, allocations: 3.358 MB / 432.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.2135, allocations: 10.58 kB / 432.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.2137, allocations: 109.8 kB / 432.7 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-05/0.2138, allocations: 120.6 kB / 432.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.2164, allocations: 2.716 MB / 435.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007511/0.2239, allocations: 9.287 MB / 444.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.2254, allocations: 1.419 MB / 446.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.2261, allocations: 0.7679 MB / 447 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/0.2281, allocations: 2.014 MB / 449 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.2281, allocations: 47.2 kB / 449.1 MB, free: 2.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.094e-06/0.2281, allocations: 4 kB / 449.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.006204/0.2343, allocations: 5.156 MB / 454.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004756/0.239, allocations: 4.965 MB / 459.2 MB, free: 8.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.2404, allocations: 1.372 MB / 460.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.2404, allocations: 45.7 kB / 460.6 MB, free: 7.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/0.241, allocations: 1.294 MB / 461.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.2412, allocations: 422.2 kB / 462.3 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.2414, allocations: 271.5 kB / 462.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.2415, allocations: 309.1 kB / 462.9 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006176/0.2421, allocations: 0.6091 MB / 463.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008372/0.243, allocations: 1.172 MB / 464.7 MB, free: 2.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.245, allocations: 1.895 MB / 466.6 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.245, allocations: 8 kB / 466.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001957/0.2469, allocations: 2.013 MB / 468.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2469, allocations: 15.94 kB / 468.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.247, allocations: 16 kB / 468.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.2471, allocations: 105.3 kB / 468.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.2478, allocations: 392.5 kB / 469.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.2479, allocations: 40.8 kB / 469.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.2484, allocations: 87.83 kB / 469.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.2484, allocations: 75.98 kB / 469.3 MB, free: 14.23 MB / 362.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.001024/0.2495, allocations: 0.8096 MB / 470.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.2496, allocations: 163 kB / 470.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.2515, allocations: 1.804 MB / 472.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2515, allocations: 12 kB / 472.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2515, allocations: 4 kB / 472.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.2515, allocations: 7.969 kB / 472.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/0.2572, allocations: 4.941 MB / 477 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2572, allocations: 4.344 kB / 477 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.2576, allocations: 189.6 kB / 477.2 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.2582, allocations: 396.2 kB / 477.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.2583, allocations: 27.94 kB / 477.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.2628, allocations: 4.963 MB / 482.6 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004419/0.2672, allocations: 4.857 MB / 487.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.2699, allocations: 2.73 MB / 490.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.2703, allocations: 305.1 kB / 490.5 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2704, allocations: 20.67 kB / 490.5 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.2708, allocations: 59.94 kB / 490.6 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.271, allocations: 104.2 kB / 490.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.271, allocations: 32 kB / 490.7 MB, free: 8.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008944/0.2719, allocations: 0.9056 MB / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2719, allocations: 64 / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001264/0.2732, allocations: 0.5078 MB / 492.1 MB, free: 7.16 MB / 378.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.0002437/0.2734, allocations: 150.7 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.275, allocations: 1.506 MB / 493.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.275, allocations: 0 / 493.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.2763, allocations: 0.9861 MB / 494.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.2773, allocations: 413.4 kB / 495.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/0.2826, allocations: 4.725 MB / 499.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.2837, allocations: 1.357 MB / 0.4895 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.2839, allocations: 132.5 kB / 0.4896 GB, free: 13.87 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2839, allocations: 4 kB / 0.4896 GB, free: 13.87 MB / 394.7 MB Notification: Performance of Templates: time 0.04235/0.3263, allocations: 58.71 MB / 0.547 GB, free: 3.227 MB / 442.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=480 -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.00475381501019] Failed to read output from testmodel.py, exit status != 0: 0.3327837511897087 0.34036154 0.136912331 Calling exit ...