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_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.001655/0.001655, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.00202/0.00202, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.062 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_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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.002742/0.002742, allocations: 68.75 kB / 378.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3335, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009861/0.3433, allocations: 8.175 MB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.3486, allocations: 2.684 MB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.3497, allocations: 27.88 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.3514, allocations: 0.5793 MB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.3529, allocations: 496.3 kB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.3534, allocations: 251.7 kB / 444.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.3553, allocations: 1.471 MB / 445.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006929/0.356, allocations: 407.2 kB / 446 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009088/0.3569, allocations: 0.5798 MB / 446.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008736/0.3578, allocations: 0.5989 MB / 447.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.358, allocations: 143.9 kB / 447.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.3584, allocations: 176 kB / 447.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.3587, allocations: 275 kB / 447.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006973/0.3594, allocations: 0.6609 MB / 448.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.3616, allocations: 1.744 MB / 450.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3617, allocations: 0 / 450.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3617, allocations: 0 / 450.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.3617, allocations: 4 kB / 450.2 MB, free: 4.57 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002635/0.3643, allocations: 1.396 MB / 451.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3644, allocations: 12.03 kB / 451.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.3645, allocations: 152.4 kB / 451.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006759/0.3652, allocations: 192 kB / 451.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.3667, allocations: 0.6688 MB / 452.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.3668, allocations: 73.98 kB / 452.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.367, allocations: 104 kB / 452.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.3686, allocations: 0.9308 MB / 453.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.3686, allocations: 7.984 kB / 453.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.3687, allocations: 40 kB / 453.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.3687, allocations: 27.94 kB / 453.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.3699, allocations: 0.6363 MB / 454.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.3751, allocations: 3.782 MB / 458.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.3758, allocations: 347.4 kB / 458.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.3764, allocations: 249.4 kB / 458.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.3764, allocations: 4.328 kB / 458.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3764, allocations: 34.89 kB / 458.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.3764, allocations: 4 kB / 458.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002577/0.379, allocations: 1.264 MB / 460.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.3791, allocations: 85.11 kB / 460.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3802, allocations: 0.8293 MB / 461 MB, free: 9.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.3802, allocations: 33.7 kB / 461 MB, free: 9.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.3807, allocations: 0.5696 MB / 461.6 MB, free: 8.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.3808, allocations: 166.6 kB / 461.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.381, allocations: 134.6 kB / 461.9 MB, free: 8.441 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3812, allocations: 330 kB / 462.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.3815, allocations: 169.9 kB / 462.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.3821, allocations: 460 kB / 462.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.383, allocations: 0.6622 MB / 463.5 MB, free: 6.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.383, allocations: 4 kB / 463.5 MB, free: 6.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001358/0.3844, allocations: 0.7711 MB / 464.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3844, allocations: 12 kB / 464.3 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3844, allocations: 8 kB / 464.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.3847, allocations: 81.62 kB / 464.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.3852, allocations: 163.8 kB / 464.5 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.3879, allocations: 2.931 MB / 467.4 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.3885, allocations: 31.94 kB / 467.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.3885, allocations: 36 kB / 467.5 MB, free: 2.289 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 (84): * Single equations (assignments): 82 * 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.0004066/0.3889, allocations: 261.6 kB / 467.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3891, allocations: 87.44 kB / 467.8 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009526/0.39, allocations: 491.5 kB / 468.3 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.39, allocations: 8 kB / 468.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.39, allocations: 0 / 468.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.39, allocations: 7.984 kB / 468.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.3922, allocations: 1.407 MB / 469.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3922, allocations: 4 kB / 469.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.3925, allocations: 67.91 kB / 469.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/0.3927, allocations: 78.02 kB / 469.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.3927, allocations: 12 kB / 469.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.3953, allocations: 2.915 MB / 472.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.3953, allocations: 4.031 kB / 472.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.3966, allocations: 0.7667 MB / 473.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.3969, allocations: 131.4 kB / 473.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.397, allocations: 8 kB / 473.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.3974, allocations: 35.97 kB / 473.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.3975, allocations: 35.88 kB / 473.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.3975, allocations: 12.12 kB / 473.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008295/0.3983, allocations: 0.5615 MB / 474.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3983, allocations: 0 / 474.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.3992, allocations: 208 kB / 474.6 MB, free: 10.84 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 (38): * Single equations (assignments): 36 * 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.001748/0.401, allocations: 1.352 MB / 475.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.4022, allocations: 0.6706 MB / 476.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4022, allocations: 0 / 476.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000656/0.4028, allocations: 433.7 kB / 477 MB, free: 8.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.4039, allocations: 227.6 kB / 477.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.415, allocations: 7.325 MB / 484.6 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.4157, allocations: 1.001 MB / 485.6 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.4161, allocations: 115.2 kB / 485.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.4166, allocations: 371.3 kB / 486 MB, free: 14.81 MB / 398.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4166, allocations: 4 kB / 486 MB, free: 14.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05841/0.475, allocations: 19.65 MB / 0.4938 GB, free: 11.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.73, allocations: 3.094 kB / 0.4938 GB, free: 11.4 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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_DCSE_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.16103711584583] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcse.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.82461083587259 11.848863121 11.482437576 Calling exit ...