Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001388/0.001388, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001491/0.001491, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.SynchronousMachines.SMR_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL",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.00193/0.00193, allocations: 68.75 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.261, allocations: 53.37 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01331/0.2743, allocations: 10.32 MB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007459/0.2818, allocations: 3.337 MB / 445.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.2839, allocations: 75.5 kB / 445.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.286, allocations: 0.7453 MB / 446.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.2897, allocations: 0.8894 MB / 447.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.2912, allocations: 435.3 kB / 447.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004908/0.2961, allocations: 2.988 MB / 450.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.2986, allocations: 1.38 MB / 452.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.3011, allocations: 1.39 MB / 453.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.3045, allocations: 1.744 MB / 455.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.3055, allocations: 352 kB / 455.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.307, allocations: 471.8 kB / 456 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.3083, allocations: 1.044 MB / 457.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002413/0.3107, allocations: 1.614 MB / 458.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006791/0.3175, allocations: 4.714 MB / 463.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3175, allocations: 0 / 463.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3175, allocations: 0 / 463.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001652/0.3177, allocations: 0 / 463.4 MB, free: 7.211 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008285/0.326, allocations: 3.28 MB / 466.7 MB, free: 3.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.326, allocations: 8.031 kB / 466.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005941/0.3266, allocations: 341.6 kB / 467 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.3278, allocations: 378.9 kB / 467.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.3314, allocations: 1.713 MB / 469.1 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.3316, allocations: 180.5 kB / 469.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004677/0.3321, allocations: 228 kB / 469.5 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006057/0.3381, allocations: 3.141 MB / 472.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/0.3382, allocations: 3.953 kB / 472.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.3385, allocations: 100 kB / 472.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.3386, allocations: 108.6 kB / 472.9 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005307/0.3439, allocations: 2.7 MB / 475.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.3621, allocations: 9.479 MB / 485 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.3651, allocations: 1.403 MB / 486.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.3672, allocations: 1.05 MB / 487.5 MB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.3674, allocations: 52.95 kB / 487.5 MB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.3675, allocations: 47.56 kB / 487.6 MB, free: 14.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.066e-06/0.3675, allocations: 0 / 487.6 MB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01619/0.3837, allocations: 6.355 MB / 493.9 MB, free: 8.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.3837, allocations: 64.72 kB / 494 MB, free: 8.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.3873, allocations: 1.763 MB / 495.8 MB, free: 6.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002443/0.3875, allocations: 49.7 kB / 495.8 MB, free: 6.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.3886, allocations: 1.186 MB / 497 MB, free: 5.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006334/0.3893, allocations: 476 kB / 497.5 MB, free: 4.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006875/0.39, allocations: 291.5 kB / 497.8 MB, free: 4.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3901, allocations: 301.1 kB / 498 MB, free: 3.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.3917, allocations: 0.7886 MB / 498.8 MB, free: 3.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.3936, allocations: 1.205 MB / 0.4883 GB, free: 1.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.3973, allocations: 2.098 MB / 0.4904 GB, free: 15.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.3973, allocations: 4 kB / 0.4904 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005583/0.4029, allocations: 2.592 MB / 0.4929 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.4029, allocations: 20 kB / 0.4929 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/0.403, allocations: 15.94 kB / 0.4929 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.4041, allocations: 415.1 kB / 0.4933 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.4056, allocations: 363.4 kB / 0.4937 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008662/0.4143, allocations: 6.769 MB / 0.5003 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.4161, allocations: 115.9 kB / 0.5004 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.4164, allocations: 67.98 kB / 0.5005 GB, free: 4.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001844/0.4182, allocations: 0.7861 MB / 0.5012 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/0.4189, allocations: 198.8 kB / 0.5014 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.4238, allocations: 2.296 MB / 0.5037 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.4238, allocations: 20 kB / 0.5037 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/0.4238, allocations: 4 kB / 0.5037 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.4238, allocations: 7.969 kB / 0.5037 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.4349, allocations: 4.993 MB / 0.5086 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.4349, allocations: 4 kB / 0.5086 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.436, allocations: 231.7 kB / 0.5088 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.4373, allocations: 463.4 kB / 0.5092 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.4374, allocations: 35.98 kB / 0.5093 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009284/0.4467, allocations: 8.219 MB / 0.5173 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4467, allocations: 4 kB / 0.5173 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006227/0.4529, allocations: 3.439 MB / 0.5207 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.4541, allocations: 370.7 kB / 0.521 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/0.4546, allocations: 31.98 kB / 0.521 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.4557, allocations: 83.91 kB / 0.5211 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.4561, allocations: 124.7 kB / 0.5212 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.4562, allocations: 39.98 kB / 0.5213 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002271/0.4584, allocations: 1.207 MB / 0.5225 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4584, allocations: 4 kB / 0.5225 GB, free: 13.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002242/0.4607, allocations: 0.5078 MB / 0.523 GB, free: 13.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,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.006747/0.4674, allocations: 4.089 MB / 0.527 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004477/0.4719, allocations: 2.319 MB / 0.5292 GB, free: 6.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.4719, allocations: 0 / 0.5292 GB, free: 6.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.4748, allocations: 1.551 MB / 0.5307 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.4777, allocations: 487.1 kB / 0.5312 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2299/0.7075, allocations: 19.4 MB / 0.5501 GB, free: 96.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.7089, allocations: 2.006 MB / 0.5521 GB, free: 94.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001253/0.7102, allocations: 449 kB / 0.5525 GB, free: 94.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.7112, allocations: 0.9268 MB / 0.5534 GB, free: 93.74 MB / 446.1 MB Notification: Performance of SimCode: time 1.432e-06/0.7112, allocations: 0 / 0.5534 GB, free: 93.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09467/0.8059, allocations: 49.6 MB / 0.6019 GB, free: 44.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.1/26.91, allocations: 7.609 kB / 0.6019 GB, free: 44.66 MB / 446.1 MB " [Timeout remaining time 633] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL_fmu --startTime=0 --stopTime=2.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.25986249325797] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smr.is[1]', 'smr.is[2]', 'smr.idq_rr[1]', 'smr.idq_rr[2]', 'smr.idq_sr[1]', 'smr.idq_sr[2]'] 27.026473422069103 27.045928163 26.72466663 Calling exit ...