Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001394/0.001394, allocations: 107 kB / 19.8 MB, free: 2.5 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.001701/0.001701, allocations: 220.1 kB / 23 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2688, allocations: 53.33 MB / 429.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive): time 0.02809/0.2969, allocations: 23.54 MB / 453.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.311, allocations: 6.886 MB / 460.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004026/0.315, allocations: 99.69 kB / 460.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002622/0.3177, allocations: 0.8415 MB / 461.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.3203, allocations: 0.9301 MB / 462.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3219, allocations: 0.8231 MB / 462.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004868/0.3268, allocations: 3.467 MB / 466.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.3289, allocations: 1.271 MB / 467.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.3309, allocations: 1.312 MB / 469 MB, free: 124 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.3326, allocations: 1.404 MB / 470.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004528/0.3331, allocations: 380 kB / 470.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006266/0.3337, allocations: 424 kB / 471.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006053/0.3343, allocations: 0.7008 MB / 471.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.336, allocations: 1.614 MB / 473.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005359/0.3414, allocations: 4.526 MB / 478 MB, free: 7.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3414, allocations: 0 / 478 MB, free: 7.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3414, allocations: 0 / 478 MB, free: 7.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.927e-05/0.3415, allocations: 0 / 478 MB, free: 7.059 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.005708/0.3472, allocations: 3.118 MB / 481.1 MB, free: 3.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3472, allocations: 12.03 kB / 481.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/0.3482, allocations: 382.9 kB / 481.5 MB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.3507, allocations: 1.502 MB / 483 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.3508, allocations: 193.5 kB / 483.2 MB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003704/0.3512, allocations: 279.8 kB / 483.5 MB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/0.3556, allocations: 2.454 MB / 485.9 MB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.346e-05/0.3556, allocations: 7.938 kB / 485.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.3558, allocations: 112 kB / 486 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.3559, allocations: 64 kB / 486.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003385/0.3593, allocations: 1.647 MB / 487.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.3731, allocations: 10.24 MB / 498 MB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.3749, allocations: 0.8237 MB / 498.8 MB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.3759, allocations: 484.2 kB / 499.3 MB, free: 1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.376, allocations: 13 kB / 499.3 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.376, allocations: 43.56 kB / 499.3 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.936e-06/0.376, allocations: 0 / 499.3 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.00524/0.3812, allocations: 2.718 MB / 0.4903 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.3813, allocations: 115.8 kB / 0.4904 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.3836, allocations: 1.569 MB / 0.4919 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.349e-05/0.3837, allocations: 53.64 kB / 0.492 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.3848, allocations: 1.328 MB / 0.4933 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.3851, allocations: 341.1 kB / 0.4936 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/0.3856, allocations: 307.4 kB / 0.4939 GB, free: 10.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3857, allocations: 301.1 kB / 0.4942 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008823/0.3866, allocations: 424.6 kB / 0.4946 GB, free: 9.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.388, allocations: 1.104 MB / 0.4957 GB, free: 8.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.3903, allocations: 1.604 MB / 0.4972 GB, free: 6.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.3903, allocations: 8 kB / 0.4972 GB, free: 6.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003079/0.3934, allocations: 1.689 MB / 0.4989 GB, free: 4.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.3934, allocations: 16 kB / 0.4989 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/0.3935, allocations: 27.94 kB / 0.4989 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.3937, allocations: 57.5 kB / 0.499 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3949, allocations: 395.3 kB / 0.4994 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.3962, allocations: 1.422 MB / 0.5008 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.3973, allocations: 80.02 kB / 0.5008 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.3974, allocations: 88 kB / 0.5009 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001513/0.399, allocations: 0.746 MB / 0.5016 GB, free: 1.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001356/0.4003, allocations: 1.084 MB / 0.5027 GB, free: 244 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002323/0.4026, allocations: 1.565 MB / 0.5042 GB, free: 14.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.039e-05/0.4026, allocations: 11.94 kB / 0.5042 GB, free: 14.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.00276/0.4054, allocations: 1.638 MB / 0.5058 GB, free: 12.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4054, allocations: 15.98 kB / 0.5059 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.4055, allocations: 24 kB / 0.5059 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.4056, allocations: 52.86 kB / 0.5059 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.4068, allocations: 391.3 kB / 0.5063 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.4079, allocations: 1.429 MB / 0.5077 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/0.4089, allocations: 75.97 kB / 0.5078 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.409, allocations: 76 kB / 0.5078 GB, free: 10.48 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.0003474/0.4093, allocations: 303.5 kB / 0.5081 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.4096, allocations: 186.8 kB / 0.5083 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.4114, allocations: 0.907 MB / 0.5092 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4114, allocations: 8 kB / 0.5092 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4114, allocations: 3.938 kB / 0.5092 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4115, allocations: 7.984 kB / 0.5092 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/0.4161, allocations: 2.882 MB / 0.512 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.4161, allocations: 7.984 kB / 0.512 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.4169, allocations: 175.8 kB / 0.5122 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.972e-05/0.417, allocations: 33.28 kB / 0.5122 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.4171, allocations: 31.92 kB / 0.5123 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.4182, allocations: 1.382 MB / 0.5136 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4182, allocations: 4 kB / 0.5136 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.4207, allocations: 1.467 MB / 0.5151 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.4212, allocations: 331.8 kB / 0.5154 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.4214, allocations: 20 kB / 0.5154 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.4222, allocations: 51.95 kB / 0.5154 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.4223, allocations: 72.52 kB / 0.5155 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.4224, allocations: 31.98 kB / 0.5155 GB, free: 2.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.4239, allocations: 1.024 MB / 0.5165 GB, free: 1.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4239, allocations: 0 / 0.5165 GB, free: 1.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002254/0.4261, allocations: 0.7695 MB / 0.5173 GB, free: 480 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.la.i,coupling.flange_a.phi,dcdcInverter1.vDCFilter.y,dcdcInverter1.iMotFilter.y,dcdcInverter1.idealDcDc.deadTime.y,dcdcInverter1.idealDcDc.powerController.y,dcdcInverter1.vMotFilter.y,dcdcInverter1.iDCFilter.y,dcdcInverter2.vDCFilter.y,dcdcInverter2.iMotFilter.y,dcdcInverter2.idealDcDc.deadTime.y,dcdcInverter2.idealDcDc.powerController.y,dcdcInverter2.vMotFilter.y,dcdcInverter2.iDCFilter.y) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 87 * 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 Backend phase and start with SimCode phase: time 0.0002743/0.4264, allocations: 153.1 kB / 0.5174 GB, free: 316 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.4299, allocations: 1.921 MB / 0.5193 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4299, allocations: 0 / 0.5193 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009018/0.4308, allocations: 0.5035 MB / 0.5198 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.4325, allocations: 452.7 kB / 0.5202 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006645/0.4391, allocations: 3.986 MB / 0.5241 GB, free: 9.363 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.4404, allocations: 1.471 MB / 0.5256 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009207/0.4413, allocations: 246.2 kB / 0.5258 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.4416, allocations: 111.4 kB / 0.5259 GB, free: 7.5 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4416, allocations: 0 / 0.5259 GB, free: 7.5 MB / 446.1 MB Notification: Performance of Templates: time 0.245/0.6866, allocations: 20.7 MB / 0.5461 GB, free: 96.07 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.38866794668138]