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.001282/0.001282, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001307/0.001307, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.474/1.474, allocations: 230.4 MB / 254.7 MB, free: 14.87 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.001922/0.001922, allocations: 71.83 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 53.31 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.2104/0.3135, allocations: 10.28 MB / 437.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.3193, allocations: 3.316 MB / 440.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.3211, allocations: 58.47 kB / 440.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.3232, allocations: 0.7468 MB / 441.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.3266, allocations: 0.8666 MB / 442.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3278, allocations: 430.5 kB / 442.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.3316, allocations: 2.989 MB / 445.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.3342, allocations: 1.788 MB / 447.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.3368, allocations: 1.363 MB / 448.7 MB, free: 204 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.3397, allocations: 1.738 MB / 450.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000826/0.3406, allocations: 353.5 kB / 450.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.3419, allocations: 470.5 kB / 451.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.3432, allocations: 1.03 MB / 452.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002592/0.3458, allocations: 1.617 MB / 453.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006524/0.3523, allocations: 4.718 MB / 458.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3523, allocations: 4 kB / 458.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3523, allocations: 0 / 458.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.3525, allocations: 1.5 kB / 458.6 MB, free: 11.25 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.008174/0.3606, allocations: 3.343 MB / 462 MB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3607, allocations: 13.92 kB / 462 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005833/0.3613, allocations: 345.5 kB / 462.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.3625, allocations: 374.2 kB / 462.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003868/0.3664, allocations: 1.785 MB / 464.5 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.3666, allocations: 186.7 kB / 464.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004295/0.367, allocations: 235.4 kB / 464.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00581/0.3728, allocations: 3.135 MB / 468 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.3729, allocations: 5.234 kB / 468 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.3731, allocations: 97.03 kB / 468.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3732, allocations: 110 kB / 468.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004821/0.378, allocations: 2.691 MB / 470.9 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.3947, allocations: 9.652 MB / 480.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.3977, allocations: 2.085 MB / 482.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.3996, allocations: 1.047 MB / 483.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.4, allocations: 207.1 kB / 483.9 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4, allocations: 51.56 kB / 484 MB, free: 7.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.337e-06/0.4, allocations: 0 / 484 MB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01484/0.4149, allocations: 6.878 MB / 490.8 MB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.4149, allocations: 72.72 kB / 490.9 MB, free: 144 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.4179, allocations: 1.756 MB / 492.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.418, allocations: 45.7 kB / 492.7 MB, free: 14.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009534/0.419, allocations: 1.186 MB / 493.9 MB, free: 13.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.4194, allocations: 476 kB / 494.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/0.4199, allocations: 287.5 kB / 494.6 MB, free: 12.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.42, allocations: 309 kB / 494.9 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4214, allocations: 0.7933 MB / 495.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.423, allocations: 1.209 MB / 496.9 MB, free: 9.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/0.4261, allocations: 2.094 MB / 499 MB, free: 7.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.4261, allocations: 4 kB / 499 MB, free: 7.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004829/0.4309, allocations: 2.671 MB / 0.49 GB, free: 4.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.431, allocations: 12.62 kB / 0.49 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.431, allocations: 12 kB / 0.49 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.432, allocations: 423.3 kB / 0.4904 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4333, allocations: 371.3 kB / 0.4907 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007645/0.441, allocations: 7.069 MB / 0.4976 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.4427, allocations: 103.9 kB / 0.4977 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.4429, allocations: 63.98 kB / 0.4978 GB, free: 12.47 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.001603/0.4445, allocations: 0.7979 MB / 0.4986 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/0.445, allocations: 194.8 kB / 0.4988 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/0.4492, allocations: 2.375 MB / 0.5011 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.4493, allocations: 15.94 kB / 0.5011 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4493, allocations: 5.812 kB / 0.5011 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.4493, allocations: 7.969 kB / 0.5011 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009916/0.4592, allocations: 5.093 MB / 0.5061 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4592, allocations: 0 / 0.5061 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.4602, allocations: 240 kB / 0.5063 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.4614, allocations: 455.9 kB / 0.5067 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.4615, allocations: 31.98 kB / 0.5068 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00919/0.4707, allocations: 8.65 MB / 0.5152 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4707, allocations: 4 kB / 0.5152 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006013/0.4767, allocations: 3.515 MB / 0.5187 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.4781, allocations: 443.8 kB / 0.5191 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005248/0.4786, allocations: 31.94 kB / 0.5191 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.4798, allocations: 95.89 kB / 0.5192 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.4801, allocations: 112.8 kB / 0.5193 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.4802, allocations: 39.98 kB / 0.5194 GB, free: 5.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002345/0.4826, allocations: 1.207 MB / 0.5205 GB, free: 4.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4826, allocations: 3.938 kB / 0.5205 GB, free: 4.336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002219/0.4848, allocations: 0.5077 MB / 0.521 GB, free: 3.828 MB / 430.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.00636/0.4911, allocations: 4.161 MB / 0.5251 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004294/0.4954, allocations: 2.39 MB / 0.5274 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4954, allocations: 0 / 0.5274 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.4981, allocations: 1.565 MB / 0.529 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.501, allocations: 477.2 kB / 0.5294 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03591/0.5369, allocations: 19.53 MB / 0.5485 GB, free: 6.805 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/0.5395, allocations: 2.001 MB / 0.5504 GB, free: 4.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001382/0.5408, allocations: 451.5 kB / 0.5509 GB, free: 4.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/0.5421, allocations: 0.9211 MB / 0.5518 GB, free: 3.398 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5421, allocations: 0 / 0.5518 GB, free: 3.398 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.6543, allocations: 48.43 MB / 0.5991 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.32/26.97, allocations: 7.438 kB / 0.5991 GB, free: 3.41 MB / 0.4981 GB " [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.37357840174809] 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.086310071870685 27.110439914 26.753114746 Calling exit ...