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.002476/0.002476, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002903/0.002903, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.01568/0.01568, allocations: 1.999 MB / 261.6 MB, free: 11.1 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.282e-06/1.282e-06, allocations: 0 / 331.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.251e-05, allocations: 2.312 kB / 331.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01214/0.01216, allocations: 14.32 MB / 345.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008701/0.02086, allocations: 5.126 MB / 350.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.0232, allocations: 111.3 kB / 351 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003252/0.02645, allocations: 1.04 MB / 352 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.03027, allocations: 1.207 MB / 353.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.03233, allocations: 0.8102 MB / 354 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004829/0.03716, allocations: 3.356 MB / 357.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.03959, allocations: 1.434 MB / 358.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.04263, allocations: 2.129 MB / 360.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.04526, allocations: 1.469 MB / 362.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000624/0.04588, allocations: 388 kB / 362.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.04716, allocations: 0.5855 MB / 363.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.04817, allocations: 0.9035 MB / 364.3 MB, free: 492 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.04979, allocations: 1.138 MB / 365.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006825/0.05662, allocations: 5.219 MB / 370.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.05662, allocations: 3.938 kB / 370.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.05662, allocations: 0 / 370.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.957e-05/0.0567, allocations: 0 / 370.6 MB, free: 10.1 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.009414/0.06611, allocations: 4.054 MB / 374.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.06615, allocations: 8.031 kB / 374.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/0.06939, allocations: 0.8615 MB / 375.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.07349, allocations: 1.794 MB / 377.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.07369, allocations: 189.5 kB / 377.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.07415, allocations: 260.3 kB / 377.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00638/0.08053, allocations: 3.394 MB / 381.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.653e-05/0.08061, allocations: 15.83 kB / 381.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/0.08087, allocations: 100 kB / 381.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.08103, allocations: 125 kB / 381.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00478/0.08581, allocations: 2.366 MB / 383.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/0.1103, allocations: 15.2 MB / 399 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/0.1134, allocations: 1.305 MB / 400.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.1149, allocations: 0.6975 MB / 401 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004768/0.1196, allocations: 2.052 MB / 403 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.1197, allocations: 46.05 kB / 403.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 2.535e-06/0.1197, allocations: 0 / 403.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.01216/0.1318, allocations: 4.468 MB / 407.6 MB, free: 3.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1202/0.252, allocations: 5.08 MB / 412.6 MB, free: 79.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.2541, allocations: 1.749 MB / 414.4 MB, free: 78.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.2543, allocations: 44.83 kB / 414.4 MB, free: 78.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007516/0.255, allocations: 1.468 MB / 415.9 MB, free: 78.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.2553, allocations: 471.7 kB / 416.4 MB, free: 78.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004615/0.2558, allocations: 360.3 kB / 416.7 MB, free: 78.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.2559, allocations: 482.3 kB / 417.2 MB, free: 77.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/0.2566, allocations: 461.1 kB / 417.6 MB, free: 77.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.2577, allocations: 1.293 MB / 418.9 MB, free: 76.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.2595, allocations: 1.902 MB / 420.8 MB, free: 75.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.2595, allocations: 3.75 kB / 420.8 MB, free: 75.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002525/0.262, allocations: 1.778 MB / 422.6 MB, free: 74.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.262, allocations: 18.66 kB / 422.6 MB, free: 74.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.262, allocations: 15.28 kB / 422.6 MB, free: 74.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.2623, allocations: 103.5 kB / 422.7 MB, free: 74.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.2636, allocations: 395.6 kB / 423.1 MB, free: 74.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.2636, allocations: 37.09 kB / 423.2 MB, free: 74.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/0.2646, allocations: 89.69 kB / 423.3 MB, free: 74.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-05/0.2647, allocations: 76.88 kB / 423.3 MB, free: 74.81 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.0009015/0.2656, allocations: 0.7489 MB / 424.1 MB, free: 74.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.2659, allocations: 198.9 kB / 424.3 MB, free: 74.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.2683, allocations: 1.468 MB / 425.7 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.2684, allocations: 11.09 kB / 425.8 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2684, allocations: 3.719 kB / 425.8 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.2684, allocations: 7.547 kB / 425.8 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007574/0.2759, allocations: 5.496 MB / 431.3 MB, free: 70.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2759, allocations: 0 / 431.3 MB, free: 70.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.2767, allocations: 182.7 kB / 431.4 MB, free: 70 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.278, allocations: 408.3 kB / 431.8 MB, free: 69.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.278, allocations: 27.94 kB / 431.9 MB, free: 69.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/0.2833, allocations: 4.949 MB / 436.8 MB, free: 64.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005434/0.2888, allocations: 5.023 MB / 441.8 MB, free: 59.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.2919, allocations: 2.263 MB / 444.1 MB, free: 57.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/0.2926, allocations: 294.9 kB / 444.4 MB, free: 56.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.2928, allocations: 23.94 kB / 444.4 MB, free: 56.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/0.2936, allocations: 59.94 kB / 444.5 MB, free: 56.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.2938, allocations: 96.75 kB / 444.6 MB, free: 56.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.2938, allocations: 35.98 kB / 444.6 MB, free: 56.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001121/0.295, allocations: 1.007 MB / 445.6 MB, free: 55.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.295, allocations: 0 / 445.6 MB, free: 55.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001566/0.2965, allocations: 0.5059 MB / 446.1 MB, free: 55.08 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.000251/0.2968, allocations: 149.6 kB / 446.3 MB, free: 54.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.2987, allocations: 1.338 MB / 447.6 MB, free: 53.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2987, allocations: 4 kB / 447.6 MB, free: 53.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.3001, allocations: 1.006 MB / 448.6 MB, free: 52.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.3018, allocations: 431.7 kB / 449 MB, free: 52.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.3075, allocations: 4.647 MB / 453.7 MB, free: 47.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.3086, allocations: 1.314 MB / 455 MB, free: 46.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001001/0.3096, allocations: 317.8 kB / 455.3 MB, free: 45.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.3099, allocations: 116.5 kB / 455.4 MB, free: 45.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3099, allocations: 0 / 455.4 MB, free: 45.64 MB / 330.7 MB Notification: Performance of Templates: time 0.03419/0.3441, allocations: 25.07 MB / 480.5 MB, free: 20.92 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: 5.343725873972289]