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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 107.9 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00233/0.002331, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 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.1088/0.1088, allocations: 2.565 MB / 300.5 MB, free: 4.355 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002771/0.002771, allocations: 92.08 kB / 414.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2387, allocations: 50.05 MB / 464.8 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01196/0.2507, allocations: 14.13 MB / 478.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2609, allocations: 4.973 MB / 483.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.2644, allocations: 86.69 kB / 483.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.2678, allocations: 1.046 MB / 485 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.2722, allocations: 1.155 MB / 486.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.2744, allocations: 0.7824 MB / 486.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004468/0.2789, allocations: 3.173 MB / 490.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.2821, allocations: 2.644 MB / 492.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.2844, allocations: 1.365 MB / 494.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.287, allocations: 1.621 MB / 495.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009345/0.288, allocations: 387.6 kB / 496.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.2899, allocations: 0.5781 MB / 496.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009561/0.2909, allocations: 0.8717 MB / 497.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002542/0.2934, allocations: 1.661 MB / 499.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006854/0.3003, allocations: 5.132 MB / 0.4925 GB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3003, allocations: 1.469 kB / 0.4925 GB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3003, allocations: 4 kB / 0.4925 GB, free: 12.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001664/0.3005, allocations: 0 / 0.4925 GB, free: 12.99 MB / 366.1 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.01028/0.3108, allocations: 3.563 MB / 0.496 GB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3109, allocations: 8.031 kB / 0.496 GB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.3139, allocations: 0.565 MB / 0.4966 GB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/0.3177, allocations: 1.86 MB / 0.4984 GB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.3179, allocations: 189.5 kB / 0.4986 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/0.3184, allocations: 260 kB / 0.4988 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006362/0.3248, allocations: 3.285 MB / 0.502 GB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.448e-05/0.3249, allocations: 0 / 0.502 GB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.3252, allocations: 108 kB / 0.5021 GB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.3253, allocations: 125 kB / 0.5022 GB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/0.3302, allocations: 2.714 MB / 0.5049 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.3481, allocations: 10.87 MB / 0.5155 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/0.3521, allocations: 3.592 MB / 0.519 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.3535, allocations: 0.8191 MB / 0.5198 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004252/0.3578, allocations: 2.4 MB / 0.5222 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3578, allocations: 47.2 kB / 0.5222 GB, free: 14.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.755e-06/0.3579, allocations: 4 kB / 0.5222 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=117): time 0.01172/0.3696, allocations: 5.342 MB / 0.5274 GB, free: 8.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007993/0.3776, allocations: 5.178 MB / 0.5325 GB, free: 3.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.3805, allocations: 1.525 MB / 0.534 GB, free: 1.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.3807, allocations: 45.7 kB / 0.534 GB, free: 1.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.3817, allocations: 1.286 MB / 0.5353 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/0.3822, allocations: 432.3 kB / 0.5357 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/0.3827, allocations: 271.6 kB / 0.5359 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3828, allocations: 305.1 kB / 0.5362 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009889/0.3838, allocations: 0.613 MB / 0.5368 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.3852, allocations: 1.134 MB / 0.5379 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.3878, allocations: 1.891 MB / 0.5398 GB, free: 11.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.3878, allocations: 8 kB / 0.5398 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003582/0.3914, allocations: 2.026 MB / 0.5418 GB, free: 9.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.3915, allocations: 20.06 kB / 0.5418 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.3915, allocations: 16 kB / 0.5418 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.3918, allocations: 93.67 kB / 0.5419 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.3933, allocations: 395.3 kB / 0.5423 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-05/0.3933, allocations: 39.92 kB / 0.5423 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3947, allocations: 87.83 kB / 0.5424 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.3949, allocations: 71.98 kB / 0.5425 GB, free: 8.637 MB / 414.1 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.001451/0.3964, allocations: 0.8017 MB / 0.5432 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.3968, allocations: 174.9 kB / 0.5434 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/0.4004, allocations: 1.836 MB / 0.5452 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.4005, allocations: 16 kB / 0.5452 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4005, allocations: 0 / 0.5452 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.4005, allocations: 7.969 kB / 0.5452 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.4113, allocations: 5.627 MB / 0.5507 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.4113, allocations: 4.344 kB / 0.5507 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/0.4121, allocations: 179.8 kB / 0.5509 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.4134, allocations: 397.4 kB / 0.5513 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.627e-05/0.4135, allocations: 27.98 kB / 0.5513 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007828/0.4214, allocations: 5.173 MB / 0.5564 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007485/0.4289, allocations: 5.067 MB / 0.5613 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.4335, allocations: 2.777 MB / 0.564 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008629/0.4344, allocations: 395.9 kB / 0.5644 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.4346, allocations: 24 kB / 0.5644 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.4354, allocations: 63.94 kB / 0.5645 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.4357, allocations: 88.75 kB / 0.5646 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/0.4357, allocations: 40.05 kB / 0.5646 GB, free: 1.441 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.4374, allocations: 1.035 MB / 0.5656 GB, free: 420 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4374, allocations: 3.938 kB / 0.5656 GB, free: 416 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001879/0.4393, allocations: 0.504 MB / 0.5661 GB, free: 15.9 MB / 446.1 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.000296/0.4396, allocations: 153.4 kB / 0.5662 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.4424, allocations: 1.715 MB / 0.5679 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4424, allocations: 0 / 0.5679 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.4443, allocations: 1.128 MB / 0.569 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.4466, allocations: 474.4 kB / 0.5695 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008286/0.4549, allocations: 4.808 MB / 0.5742 GB, free: 7.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.4568, allocations: 1.913 MB / 0.576 GB, free: 5.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/0.4574, allocations: 131.4 kB / 0.5762 GB, free: 5.398 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4574, allocations: 0 / 0.5762 GB, free: 5.398 MB / 446.1 MB Notification: Performance of Templates: time 0.2615/0.719, allocations: 58.27 MB / 0.6331 GB, free: 100 MB / 462.1 MB " [Timeout remaining time 659] 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: 11.432491227984428] Failed to read output from testmodel.py, exit status != 0: 0.7264076229184866 0.735384964 0.43303363399999995 Calling exit ...