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.001844/0.001844, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.002009/0.002009, allocations: 220.8 kB / 23 MB, free: 5.582 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 / 256.5 MB, free: 8.191 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.001936/0.001936, allocations: 71.83 kB / 376.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.28, allocations: 53.31 MB / 429.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01305/0.2931, allocations: 10.33 MB / 439.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007195/0.3003, allocations: 3.326 MB / 443.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.302, allocations: 59.75 kB / 443.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.3041, allocations: 0.7415 MB / 444 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.3071, allocations: 0.8777 MB / 444.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3083, allocations: 443.2 kB / 445.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004071/0.3124, allocations: 2.977 MB / 448.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/0.3146, allocations: 1.373 MB / 449.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.3169, allocations: 1.367 MB / 451 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00301/0.3199, allocations: 1.747 MB / 452.8 MB, free: 28 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008846/0.3208, allocations: 352 kB / 453.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.3221, allocations: 471.8 kB / 453.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.3234, allocations: 1.028 MB / 454.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.3259, allocations: 1.61 MB / 456.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006217/0.3321, allocations: 4.721 MB / 460.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3321, allocations: 0 / 460.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3321, allocations: 0 / 460.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001359/0.3322, allocations: 4 kB / 460.9 MB, free: 7.832 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.008/0.3402, allocations: 3.355 MB / 464.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.3403, allocations: 8.031 kB / 464.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006497/0.3409, allocations: 341.6 kB / 464.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.3423, allocations: 374.9 kB / 465 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.3464, allocations: 1.789 MB / 466.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.3466, allocations: 180.6 kB / 467 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005154/0.3471, allocations: 228 kB / 467.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0067/0.3538, allocations: 3.137 MB / 470.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.3539, allocations: 7.953 kB / 470.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.3541, allocations: 99.98 kB / 470.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.3543, allocations: 112.5 kB / 470.5 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005615/0.3599, allocations: 2.696 MB / 473.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.3779, allocations: 9.641 MB / 482.9 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.3808, allocations: 2.091 MB / 485 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.3828, allocations: 1.05 MB / 486 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.3831, allocations: 203.2 kB / 486.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.3831, allocations: 55.5 kB / 486.3 MB, free: 13.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.025e-06/0.3831, allocations: 0 / 486.3 MB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01541/0.3985, allocations: 6.874 MB / 493.1 MB, free: 6.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.3986, allocations: 68.72 kB / 493.2 MB, free: 6.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.4015, allocations: 1.759 MB / 495 MB, free: 4.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.4018, allocations: 45.7 kB / 495 MB, free: 4.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.4028, allocations: 1.186 MB / 496.2 MB, free: 3.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005617/0.4033, allocations: 480 kB / 496.7 MB, free: 3.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004979/0.4038, allocations: 287.5 kB / 497 MB, free: 2.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4039, allocations: 305.1 kB / 497.3 MB, free: 2.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.4053, allocations: 0.7924 MB / 498 MB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.4071, allocations: 1.201 MB / 499.2 MB, free: 400 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.4103, allocations: 2.098 MB / 0.4896 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.4103, allocations: 4 kB / 0.4896 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004913/0.4152, allocations: 2.671 MB / 0.4922 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.4152, allocations: 12 kB / 0.4922 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.4152, allocations: 12 kB / 0.4922 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.4163, allocations: 419.5 kB / 0.4926 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.4177, allocations: 359.4 kB / 0.493 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/0.4256, allocations: 7.085 MB / 0.4999 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.4272, allocations: 107.9 kB / 0.5 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.4274, allocations: 60 kB / 0.5 GB, free: 2.953 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.001669/0.4291, allocations: 0.8056 MB / 0.5008 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005381/0.4296, allocations: 190.8 kB / 0.501 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00466/0.4343, allocations: 2.383 MB / 0.5033 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.4343, allocations: 12 kB / 0.5034 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.4343, allocations: 4 kB / 0.5034 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.4343, allocations: 3.984 kB / 0.5034 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009622/0.4439, allocations: 5.097 MB / 0.5083 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4439, allocations: 4.406 kB / 0.5083 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.445, allocations: 243.6 kB / 0.5086 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.4463, allocations: 451.1 kB / 0.509 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.4465, allocations: 31.98 kB / 0.509 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009317/0.4558, allocations: 8.64 MB / 0.5175 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.4558, allocations: 4 kB / 0.5175 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006273/0.4621, allocations: 3.511 MB / 0.5209 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.4631, allocations: 447.8 kB / 0.5213 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.4635, allocations: 39.92 kB / 0.5214 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009567/0.4644, allocations: 79.91 kB / 0.5215 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/0.4647, allocations: 120.7 kB / 0.5216 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/0.4648, allocations: 43.98 kB / 0.5216 GB, free: 12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002077/0.4669, allocations: 1.203 MB / 0.5228 GB, free: 10.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4669, allocations: 0 / 0.5228 GB, free: 10.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002135/0.4691, allocations: 0.5078 MB / 0.5233 GB, free: 10.29 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.006882/0.4759, allocations: 4.166 MB / 0.5273 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00459/0.4805, allocations: 2.385 MB / 0.5297 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/0.4805, allocations: 2 kB / 0.5297 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002836/0.4834, allocations: 1.563 MB / 0.5312 GB, free: 1.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.4859, allocations: 489.2 kB / 0.5317 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2479/0.7338, allocations: 19.55 MB / 0.5508 GB, free: 114.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/0.7359, allocations: 2.007 MB / 0.5527 GB, free: 113.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001464/0.7374, allocations: 449.6 kB / 0.5532 GB, free: 113.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.7385, allocations: 0.9277 MB / 0.5541 GB, free: 113.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7385, allocations: 0 / 0.5541 GB, free: 113.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09767/0.8361, allocations: 48.56 MB / 0.6015 GB, free: 73.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.05/26.89, allocations: 11.86 kB / 0.6015 GB, free: 73.89 MB / 462.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 --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.27187354900525] 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]'] 26.998741224000696 27.009315382 26.674184459 Calling exit ...