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.001346/0.001346, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.001565/0.001565, allocations: 221 kB / 23.48 MB, free: 5.254 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.4/1.4, allocations: 230.4 MB / 257 MB, free: 8.262 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.001958/0.001958, allocations: 71.83 kB / 377.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2766, allocations: 53.31 MB / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0102/0.2868, allocations: 8.069 MB / 438.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.2915, allocations: 2.641 MB / 441.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006657/0.2921, allocations: 27.94 kB / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.2935, allocations: 0.5638 MB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.2947, allocations: 492.4 kB / 442.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.2952, allocations: 247.6 kB / 442.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.2968, allocations: 1.42 MB / 443.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006693/0.2975, allocations: 406.8 kB / 444.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007895/0.2983, allocations: 0.5525 MB / 444.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008026/0.2991, allocations: 0.5833 MB / 445.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.2993, allocations: 136 kB / 445.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.2996, allocations: 176 kB / 445.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.2999, allocations: 275 kB / 445.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006217/0.3005, allocations: 0.6493 MB / 446.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.3023, allocations: 1.708 MB / 448.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3024, allocations: 0 / 448.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3024, allocations: 0 / 448.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.3024, allocations: 0 / 448.3 MB, free: 5.238 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.002409/0.3048, allocations: 1.463 MB / 449.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3048, allocations: 8.031 kB / 449.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.305, allocations: 148.3 kB / 449.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005465/0.3056, allocations: 172.1 kB / 450.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.3068, allocations: 0.7305 MB / 450.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.3069, allocations: 74 kB / 450.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.307, allocations: 99.98 kB / 451 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.3086, allocations: 0.919 MB / 451.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.3087, allocations: 11.94 kB / 451.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.3087, allocations: 43.94 kB / 452 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.3088, allocations: 24 kB / 452 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.31, allocations: 0.6246 MB / 452.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005156/0.3152, allocations: 3.887 MB / 456.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.3158, allocations: 343.6 kB / 456.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.316, allocations: 139.8 kB / 457 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3161, allocations: 8 kB / 457 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3161, allocations: 46.44 kB / 457 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.3161, allocations: 0 / 457 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002293/0.3184, allocations: 1.197 MB / 458.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.3185, allocations: 81.11 kB / 458.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.3195, allocations: 0.8293 MB / 459.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.3196, allocations: 29.7 kB / 459.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.32, allocations: 0.585 MB / 459.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.3201, allocations: 135 kB / 459.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.3203, allocations: 126.6 kB / 460 MB, free: 9.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3204, allocations: 337.9 kB / 460.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.3208, allocations: 145.9 kB / 460.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.3213, allocations: 460 kB / 460.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/0.3222, allocations: 0.6321 MB / 461.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3222, allocations: 4 kB / 461.5 MB, free: 7.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001204/0.3234, allocations: 0.6929 MB / 462.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3235, allocations: 8 kB / 462.2 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.3235, allocations: 12.05 kB / 462.3 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.3237, allocations: 36.83 kB / 462.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.3242, allocations: 163.7 kB / 462.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3254, allocations: 1.39 MB / 463.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.3259, allocations: 40.14 kB / 463.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.326, allocations: 32 kB / 463.9 MB, free: 4.641 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.0003975/0.3264, allocations: 257.5 kB / 464.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3265, allocations: 91.38 kB / 464.3 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.3272, allocations: 382.1 kB / 464.6 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3272, allocations: 4 kB / 464.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3272, allocations: 0 / 464.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3272, allocations: 0 / 464.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.3291, allocations: 1.27 MB / 465.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3291, allocations: 3.938 kB / 465.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.3294, allocations: 75.89 kB / 466 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/0.3295, allocations: 20.86 kB / 466 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3295, allocations: 12.2 kB / 466 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.3306, allocations: 1.371 MB / 467.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3306, allocations: 4 kB / 467.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3316, allocations: 0.6291 MB / 468 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.3319, allocations: 192.5 kB / 468.2 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.332, allocations: 15.98 kB / 468.2 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.3323, allocations: 27.92 kB / 468.3 MB, free: 0 / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.3324, allocations: 28.02 kB / 468.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3324, allocations: 8 kB / 468.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007499/0.3332, allocations: 0.5615 MB / 468.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3332, allocations: 3.938 kB / 468.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000682/0.3338, allocations: 188 kB / 469 MB, free: 15.21 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.001437/0.3353, allocations: 1.204 MB / 470.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009434/0.3362, allocations: 0.4884 MB / 470.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3362, allocations: 0 / 470.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.3366, allocations: 262.4 kB / 471 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009375/0.3376, allocations: 217.3 kB / 471.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.3476, allocations: 7.129 MB / 478.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.3482, allocations: 0.9923 MB / 479.3 MB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.3486, allocations: 102.9 kB / 479.4 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.349, allocations: 367.3 kB / 479.8 MB, free: 3.922 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.349, allocations: 0 / 479.8 MB, free: 3.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05322/0.4022, allocations: 18.05 MB / 497.8 MB, free: 2.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 3.375 kB / 497.8 MB, free: 2.102 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: 13.989957649027929] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.777510605985299 11.792874699 11.487272684 Calling exit ...