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.DCSE_SinglePhase.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.001528/0.001528, allocations: 114.8 kB / 18.5 MB, free: 4.582 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.001698/0.001698, allocations: 206.5 kB / 21.46 MB, free: 1.629 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.447/1.447, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.DCSE_SinglePhase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",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.001969/0.001969, allocations: 75.83 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1039, allocations: 53.32 MB / 426.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.2255/0.3294, allocations: 8.266 MB / 435.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.3346, allocations: 2.755 MB / 437.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3358, allocations: 24.81 kB / 437.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.3376, allocations: 0.5793 MB / 438.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.3396, allocations: 0.5053 MB / 439 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.3404, allocations: 269.8 kB / 439.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.3426, allocations: 1.507 MB / 440.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007639/0.3434, allocations: 403.5 kB / 441.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.3446, allocations: 0.5756 MB / 441.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3456, allocations: 0.6095 MB / 442.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.3459, allocations: 144.2 kB / 442.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.3465, allocations: 187.3 kB / 442.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.3467, allocations: 287.6 kB / 443 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007737/0.3474, allocations: 0.6711 MB / 443.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.3501, allocations: 1.765 MB / 445.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3502, allocations: 0.5625 kB / 445.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3502, allocations: 0 / 445.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.606e-05/0.3502, allocations: 0.5625 kB / 445.4 MB, free: 2.348 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003401/0.3536, allocations: 1.517 MB / 446.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3537, allocations: 9.188 kB / 446.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/0.3539, allocations: 152.3 kB / 447.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.3548, allocations: 206.4 kB / 447.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.3563, allocations: 0.7646 MB / 448.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.3563, allocations: 73.25 kB / 448.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3565, allocations: 105.7 kB / 448.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.3582, allocations: 0.9445 MB / 449.2 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.3582, allocations: 5.344 kB / 449.2 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.3583, allocations: 43.12 kB / 449.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.3583, allocations: 24.67 kB / 449.3 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3598, allocations: 0.6535 MB / 449.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006983/0.3668, allocations: 3.916 MB / 453.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008313/0.3676, allocations: 429.3 kB / 454.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/0.3683, allocations: 269.4 kB / 454.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3683, allocations: 4.656 kB / 454.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.3683, allocations: 36.75 kB / 454.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 3.025e-06/0.3683, allocations: 0 / 454.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003668/0.372, allocations: 1.565 MB / 456.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.3721, allocations: 86.73 kB / 456.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.3734, allocations: 0.8396 MB / 457 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.3735, allocations: 35.69 kB / 457.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.3739, allocations: 0.5761 MB / 457.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.3741, allocations: 173.7 kB / 457.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.3743, allocations: 132.7 kB / 457.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3745, allocations: 332.9 kB / 458.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.3749, allocations: 174.3 kB / 458.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.3755, allocations: 468.7 kB / 458.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3766, allocations: 0.6753 MB / 459.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.3766, allocations: 3.406 kB / 459.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001617/0.3782, allocations: 0.7993 MB / 460.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3782, allocations: 10.5 kB / 460.4 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.3782, allocations: 13.22 kB / 460.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.3785, allocations: 83.41 kB / 460.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.379, allocations: 155.8 kB / 460.6 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.3818, allocations: 3.145 MB / 463.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.3827, allocations: 37.88 kB / 463.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.3828, allocations: 36.25 kB / 463.9 MB, free: 5.531 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005555/0.3833, allocations: 261.7 kB / 464.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.3835, allocations: 90.56 kB / 464.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.3845, allocations: 0.5005 MB / 464.7 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3845, allocations: 5.188 kB / 464.7 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3846, allocations: 5.312 kB / 464.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3846, allocations: 4 kB / 464.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.3871, allocations: 1.48 MB / 466.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3871, allocations: 1.75 kB / 466.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.3874, allocations: 71.72 kB / 466.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/0.3876, allocations: 72.3 kB / 466.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.3877, allocations: 13.09 kB / 466.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.3905, allocations: 3.129 MB / 469.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3905, allocations: 4.469 kB / 469.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.3922, allocations: 0.8051 MB / 470.3 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.3927, allocations: 206.8 kB / 470.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3928, allocations: 17.03 kB / 470.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.3933, allocations: 35.84 kB / 470.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.3934, allocations: 35.02 kB / 470.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3934, allocations: 13.91 kB / 470.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008963/0.3943, allocations: 0.5748 MB / 471.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3943, allocations: 0 / 471.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001049/0.3953, allocations: 212.3 kB / 471.4 MB, free: 15.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.001942/0.3973, allocations: 1.365 MB / 472.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.3987, allocations: 0.688 MB / 473.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3987, allocations: 5.188 kB / 473.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.3995, allocations: 454.2 kB / 473.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.401, allocations: 221 kB / 474.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.4145, allocations: 7.487 MB / 481.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/0.4153, allocations: 1.013 MB / 482.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005896/0.4159, allocations: 112.4 kB / 482.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/0.4164, allocations: 391.3 kB / 483.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4164, allocations: 0 / 483.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06541/0.4818, allocations: 19.63 MB / 0.4909 GB, free: 3.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.9, allocations: 6.344 kB / 0.4909 GB, free: 3.578 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.307304464746267] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcse.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.994628948159516 12.014656459 11.661431007000001 Calling exit ...