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.DCEE_Start.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.001417/0.001417, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001832/0.001832, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.051 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [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.00196/0.00196, allocations: 56.78 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009899/0.2921, allocations: 8.068 MB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005347/0.2974, allocations: 2.641 MB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.2985, allocations: 31.81 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.3001, allocations: 0.5715 MB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.3014, allocations: 496.4 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.302, allocations: 235.7 kB / 444 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.3038, allocations: 1.442 MB / 445.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007045/0.3045, allocations: 407.3 kB / 445.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000962/0.3055, allocations: 0.572 MB / 446.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007756/0.3062, allocations: 0.5794 MB / 446.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.3064, allocations: 136 kB / 447.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.3067, allocations: 175.9 kB / 447.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.307, allocations: 271 kB / 447.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006336/0.3076, allocations: 0.6415 MB / 448.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.3099, allocations: 1.704 MB / 449.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3099, allocations: 3.938 kB / 449.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3099, allocations: 3.938 kB / 449.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3099, allocations: 0 / 449.9 MB, free: 4.863 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002482/0.3124, allocations: 1.396 MB / 451.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.3125, allocations: 8.031 kB / 451.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/0.3127, allocations: 144.3 kB / 451.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.3133, allocations: 176.1 kB / 451.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.3146, allocations: 0.6648 MB / 452.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/0.3146, allocations: 70 kB / 452.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.3148, allocations: 96 kB / 452.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.3164, allocations: 0.9229 MB / 453.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.3164, allocations: 3.953 kB / 453.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.3165, allocations: 47.98 kB / 453.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.3166, allocations: 24 kB / 453.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.3178, allocations: 0.6207 MB / 454 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005379/0.3232, allocations: 3.776 MB / 457.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.3237, allocations: 254.6 kB / 458.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.324, allocations: 140.7 kB / 458.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.324, allocations: 8 kB / 458.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.3241, allocations: 42.48 kB / 458.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.3241, allocations: 0 / 458.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002367/0.3265, allocations: 1.047 MB / 459.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.3265, allocations: 81.09 kB / 459.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3277, allocations: 0.8253 MB / 460.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.3277, allocations: 29.7 kB / 460.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.3282, allocations: 0.5811 MB / 460.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.3283, allocations: 138.9 kB / 460.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3285, allocations: 134.6 kB / 461.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3287, allocations: 333.9 kB / 461.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.329, allocations: 145.9 kB / 461.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.3295, allocations: 456 kB / 462 MB, free: 8.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000918/0.3305, allocations: 0.6474 MB / 462.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3305, allocations: 4 kB / 462.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001244/0.3317, allocations: 0.6969 MB / 463.3 MB, free: 6.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.3317, allocations: 12 kB / 463.3 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3317, allocations: 11.98 kB / 463.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.3319, allocations: 36.84 kB / 463.4 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.3325, allocations: 155.7 kB / 463.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.3336, allocations: 1.291 MB / 464.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.3342, allocations: 32.14 kB / 464.9 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.3343, allocations: 36 kB / 464.9 MB, free: 4.984 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0004669/0.3347, allocations: 257.8 kB / 465.2 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3349, allocations: 91.38 kB / 465.2 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.3356, allocations: 382.3 kB / 465.6 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3356, allocations: 8 kB / 465.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3356, allocations: 0 / 465.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3356, allocations: 0 / 465.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.3375, allocations: 1.234 MB / 466.9 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.3375, allocations: 7.938 kB / 466.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.3378, allocations: 67.89 kB / 466.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-05/0.3379, allocations: 28.84 kB / 467 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.338, allocations: 8 kB / 467 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.339, allocations: 1.279 MB / 468.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.339, allocations: 0 / 468.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.34, allocations: 0.6324 MB / 468.9 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.3403, allocations: 115.4 kB / 469 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/0.3404, allocations: 8 kB / 469 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.3407, allocations: 27.92 kB / 469 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.3408, allocations: 27.89 kB / 469.1 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3408, allocations: 12 kB / 469.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007978/0.3416, allocations: 0.5615 MB / 469.6 MB, free: 0 / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3416, allocations: 0 / 469.6 MB, free: 0 / 366.1 MB Notification: Performance of remove unused functions: time 0.000759/0.3424, allocations: 188 kB / 469.8 MB, free: 15.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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 (34): * Single equations (assignments): 33 * 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.001501/0.3439, allocations: 1.209 MB / 471 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3449, allocations: 0.4926 MB / 471.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3449, allocations: 0 / 471.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.3454, allocations: 258.4 kB / 471.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.3463, allocations: 207.9 kB / 472 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.3568, allocations: 7.131 MB / 479.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.3575, allocations: 0.9884 MB / 480.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004646/0.358, allocations: 102.9 kB / 480.2 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.3585, allocations: 367.3 kB / 480.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of SimCode: time 1.723e-06/0.3585, allocations: 0 / 480.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05558/0.4141, allocations: 18.45 MB / 499 MB, free: 2.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.82, allocations: 5.859 kB / 499 MB, free: 2.309 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.214742748998106] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.921825170982629 11.949696358 11.634492485 Calling exit ...