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.001395/0.001395, allocations: 84.73 kB / 19.44 MB, free: 356 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.001551/0.001551, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.01411/0.01411, allocations: 1.996 MB / 261.6 MB, free: 11.09 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 2.034e-06/2.034e-06, allocations: 0 / 331.4 MB, free: 17.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.064e-05, allocations: 6.25 kB / 331.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.0114/0.01143, allocations: 12.93 MB / 344.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009841/0.02127, allocations: 4.955 MB / 349.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.0241, allocations: 111.3 kB / 349.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.02749, allocations: 1.04 MB / 350.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0039/0.03139, allocations: 1.207 MB / 351.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.0336, allocations: 0.7946 MB / 352.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005407/0.03901, allocations: 3.35 MB / 355.8 MB, free: 9.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.04199, allocations: 1.43 MB / 357.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004118/0.0461, allocations: 2.101 MB / 359.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003368/0.04947, allocations: 1.336 MB / 360.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008423/0.05032, allocations: 388 kB / 361 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.0522, allocations: 0.5933 MB / 361.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009993/0.0532, allocations: 0.8918 MB / 362.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.05525, allocations: 1.122 MB / 363.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008662/0.06391, allocations: 5.196 MB / 368.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.06392, allocations: 4 kB / 368.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.06393, allocations: 3.938 kB / 368.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001386/0.06406, allocations: 0 / 368.8 MB, free: 11.91 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.009347/0.07341, allocations: 3.477 MB / 372.3 MB, free: 8.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.07346, allocations: 12.03 kB / 372.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/0.07664, allocations: 0.8615 MB / 373.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.08048, allocations: 1.866 MB / 375.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.08068, allocations: 193.5 kB / 375.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/0.08113, allocations: 256.3 kB / 375.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006483/0.08761, allocations: 3.357 MB / 378.9 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.738e-05/0.08768, allocations: 11.89 kB / 378.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.08793, allocations: 107.9 kB / 379 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.08809, allocations: 125 kB / 379.1 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005199/0.09329, allocations: 2.714 MB / 381.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.1109, allocations: 9.468 MB / 391.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.1139, allocations: 1.437 MB / 392.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.1154, allocations: 0.7689 MB / 393.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004277/0.1196, allocations: 2.024 MB / 395.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.1197, allocations: 43.22 kB / 395.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 2.615e-06/0.1197, allocations: 0 / 395.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.01223/0.1319, allocations: 5.198 MB / 400.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008635/0.1406, allocations: 4.989 MB / 405.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.1428, allocations: 1.372 MB / 407.1 MB, free: 4.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.143, allocations: 45.7 kB / 407.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.1441, allocations: 1.296 MB / 408.5 MB, free: 3.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/0.1446, allocations: 420.4 kB / 408.9 MB, free: 3.121 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004699/0.145, allocations: 279.5 kB / 409.1 MB, free: 2.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1452, allocations: 309.1 kB / 409.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.1462, allocations: 0.613 MB / 410.1 MB, free: 1.926 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.1478, allocations: 1.167 MB / 411.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1469/0.2948, allocations: 1.895 MB / 413.1 MB, free: 82.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.2948, allocations: 11.19 kB / 413.1 MB, free: 82.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003241/0.298, allocations: 2.081 MB / 415.2 MB, free: 81.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.2981, allocations: 12.06 kB / 415.2 MB, free: 81.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.2981, allocations: 17.88 kB / 415.2 MB, free: 81.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.2984, allocations: 96.62 kB / 415.3 MB, free: 81.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.2998, allocations: 397.4 kB / 415.7 MB, free: 81.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-05/0.2998, allocations: 42.98 kB / 415.8 MB, free: 81.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.301, allocations: 84.83 kB / 415.8 MB, free: 81.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.3012, allocations: 70.27 kB / 415.9 MB, free: 81.41 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.001379/0.3026, allocations: 0.8085 MB / 416.7 MB, free: 80.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.303, allocations: 197.6 kB / 416.9 MB, free: 80.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.3061, allocations: 1.808 MB / 418.7 MB, free: 80.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.3061, allocations: 11.88 kB / 418.7 MB, free: 80.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3061, allocations: 0 / 418.7 MB, free: 80.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3061, allocations: 6.188 kB / 418.7 MB, free: 80.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008173/0.3143, allocations: 5.094 MB / 423.8 MB, free: 77.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.3143, allocations: 3.531 kB / 423.8 MB, free: 77.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/0.315, allocations: 178.1 kB / 424 MB, free: 77.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.3164, allocations: 469.4 kB / 424.5 MB, free: 77.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/0.3165, allocations: 27.75 kB / 424.5 MB, free: 77.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005645/0.3221, allocations: 4.985 MB / 429.5 MB, free: 72.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005556/0.3277, allocations: 4.884 MB / 434.4 MB, free: 67.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/0.3313, allocations: 2.781 MB / 437.1 MB, free: 65.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/0.332, allocations: 295.4 kB / 437.4 MB, free: 64.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.3322, allocations: 27.94 kB / 437.5 MB, free: 64.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/0.333, allocations: 63.56 kB / 437.5 MB, free: 64.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.3332, allocations: 96.75 kB / 437.6 MB, free: 64.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/0.3333, allocations: 35.98 kB / 437.7 MB, free: 64.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.3344, allocations: 0.9056 MB / 438.6 MB, free: 63.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3344, allocations: 0 / 438.6 MB, free: 63.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001758/0.3362, allocations: 0.5064 MB / 439.1 MB, free: 63.27 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.0002885/0.3365, allocations: 154.5 kB / 439.2 MB, free: 63.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.3385, allocations: 1.504 MB / 440.7 MB, free: 61.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3385, allocations: 0 / 440.7 MB, free: 61.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.3399, allocations: 0.9908 MB / 441.7 MB, free: 60.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.3417, allocations: 426.7 kB / 442.1 MB, free: 60.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/0.348, allocations: 4.791 MB / 446.9 MB, free: 55.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.3491, allocations: 1.395 MB / 448.3 MB, free: 53.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.3502, allocations: 368 kB / 448.7 MB, free: 53.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.3505, allocations: 112.5 kB / 448.8 MB, free: 53.46 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3505, allocations: 0 / 448.8 MB, free: 53.46 MB / 330.7 MB Notification: Performance of Templates: time 0.0338/0.3843, allocations: 24.89 MB / 473.7 MB, free: 28.9 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=480 -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.328598566004075]