Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.398/1.398, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2199, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive): time 0.02644/0.2463, allocations: 23.54 MB / 455.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.2592, allocations: 6.855 MB / 462.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.2631, allocations: 103.6 kB / 462.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.266, allocations: 0.8377 MB / 463.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.2692, allocations: 0.9301 MB / 464.3 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.2713, allocations: 0.8153 MB / 465.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005002/0.2763, allocations: 3.476 MB / 468.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.2787, allocations: 1.271 MB / 469.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.2807, allocations: 1.308 MB / 471.2 MB, free: 52 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.2829, allocations: 1.408 MB / 472.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00065/0.2835, allocations: 380 kB / 473 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/0.2845, allocations: 420 kB / 473.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006367/0.2851, allocations: 0.7047 MB / 474.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.2868, allocations: 1.61 MB / 475.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00477/0.2915, allocations: 4.518 MB / 480.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2915, allocations: 0 / 480.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2915, allocations: 0 / 480.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.312e-05/0.2916, allocations: 0 / 480.2 MB, free: 6.992 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.005455/0.2971, allocations: 3.134 MB / 483.4 MB, free: 3.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2971, allocations: 8.031 kB / 483.4 MB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009416/0.298, allocations: 382.9 kB / 483.7 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.3006, allocations: 1.502 MB / 485.2 MB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.3007, allocations: 189.5 kB / 485.4 MB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/0.3011, allocations: 271.9 kB / 485.7 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/0.3054, allocations: 2.461 MB / 488.1 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.461e-05/0.3055, allocations: 7.984 kB / 488.2 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.3057, allocations: 112 kB / 488.3 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.3057, allocations: 64 kB / 488.3 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.3091, allocations: 1.654 MB / 490 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.3228, allocations: 10.23 MB / 0.4885 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.3247, allocations: 0.8246 MB / 0.4893 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.3258, allocations: 480.2 kB / 0.4898 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.3258, allocations: 13 kB / 0.4898 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3258, allocations: 39.56 kB / 0.4898 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.564e-06/0.3259, allocations: 0 / 0.4898 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.005352/0.3312, allocations: 2.715 MB / 0.4925 GB, free: 14.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.3313, allocations: 111.8 kB / 0.4926 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.3334, allocations: 1.577 MB / 0.4941 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.3335, allocations: 49.7 kB / 0.4941 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009943/0.3345, allocations: 1.32 MB / 0.4954 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.3348, allocations: 345.1 kB / 0.4958 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/0.3352, allocations: 311.4 kB / 0.4961 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3353, allocations: 305.1 kB / 0.4964 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000885/0.3362, allocations: 424.6 kB / 0.4968 GB, free: 9.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.3376, allocations: 1.1 MB / 0.4978 GB, free: 8.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.34, allocations: 1.612 MB / 0.4994 GB, free: 6.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.34, allocations: 8 kB / 0.4994 GB, free: 6.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003047/0.3431, allocations: 1.681 MB / 0.5011 GB, free: 4.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.3431, allocations: 16 kB / 0.5011 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.3432, allocations: 27.98 kB / 0.5011 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.3434, allocations: 61.47 kB / 0.5012 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.3447, allocations: 399.4 kB / 0.5015 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3459, allocations: 1.417 MB / 0.5029 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3469, allocations: 92 kB / 0.503 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.3471, allocations: 80 kB / 0.5031 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001444/0.3485, allocations: 0.7421 MB / 0.5038 GB, free: 1.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001334/0.3498, allocations: 1.084 MB / 0.5049 GB, free: 172 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002183/0.352, allocations: 1.561 MB / 0.5064 GB, free: 14.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.168e-05/0.352, allocations: 8.078 kB / 0.5064 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.002849/0.3549, allocations: 1.642 MB / 0.508 GB, free: 12.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3549, allocations: 15.94 kB / 0.508 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.3549, allocations: 24 kB / 0.508 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.3551, allocations: 60.78 kB / 0.5081 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.3563, allocations: 379.4 kB / 0.5085 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.3575, allocations: 1.438 MB / 0.5099 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.3586, allocations: 75.97 kB / 0.5099 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.805e-05/0.3587, allocations: 76 kB / 0.51 GB, free: 10.42 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 3 (switch.control,dcdcInverter2.idealDcDc.powerController.local_reset,dcdcInverter1.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.359, allocations: 298.2 kB / 0.5103 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.3593, allocations: 186.8 kB / 0.5105 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.3612, allocations: 0.9108 MB / 0.5114 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3612, allocations: 7.969 kB / 0.5114 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3612, allocations: 0 / 0.5114 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/0.3617, allocations: 335.8 kB / 0.5117 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.3619, allocations: 20 kB / 0.5117 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/0.3626, allocations: 47.95 kB / 0.5118 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3627, allocations: 56.86 kB / 0.5118 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002602/0.3653, allocations: 0.9942 MB / 0.5128 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002493/0.3678, allocations: 1.431 MB / 0.5142 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006688/0.3685, allocations: 327.8 kB / 0.5145 GB, free: 5.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001499/0.37, allocations: 1.028 MB / 0.5155 GB, free: 4.742 MB / 430.1 MB Notification: Performance of Backend: time 4.61e-07/0.37, allocations: 4 kB / 0.5155 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003678/0.3737, allocations: 1.762 MB / 0.5172 GB, free: 2.961 MB / 430.1 MB Notification: Performance of SimCode: time 0.007365/0.3811, allocations: 4.491 MB / 0.5216 GB, free: 14.42 MB / 446.1 MB Notification: Performance of Templates: time 0.2262/0.6073, allocations: 26.51 MB / 0.5475 GB, free: 96.02 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.180317166261375] Failed to read output from testmodel.py, exit status != 0: 0.6148305903188884 0.6229451149999999 0.329292466 Calling exit ...