Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001616/0.001616, allocations: 117 kB / 18.49 MB, free: 4.566 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.001852/0.001852, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 63.89 kB / 373.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.1014, allocations: 53.38 MB / 427.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2317/0.3331, allocations: 41.94 MB / 469 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02728/0.3604, allocations: 11.42 MB / 480.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009603/0.37, allocations: 363.7 kB / 480.8 MB, free: 6.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02026/0.3902, allocations: 7.995 MB / 488.8 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01475/0.405, allocations: 3.648 MB / 492.5 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008011/0.413, allocations: 2.329 MB / 494.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01894/0.4319, allocations: 12.54 MB / 0.4954 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03088/0.4628, allocations: 17.86 MB / 0.5129 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.4748, allocations: 6.494 MB / 0.5192 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/0.4875, allocations: 7.334 MB / 0.5264 GB, free: 436 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005245/0.4927, allocations: 1.824 MB / 0.5282 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007356/0.5001, allocations: 2.265 MB / 0.5304 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005946/0.506, allocations: 3.655 MB / 0.534 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0128/0.5189, allocations: 7.093 MB / 0.5409 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0344/0.5532, allocations: 24.12 MB / 0.5644 GB, free: 9.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.5533, allocations: 0 / 0.5644 GB, free: 9.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5533, allocations: 0 / 0.5644 GB, free: 9.348 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006404/0.5539, allocations: 0 / 0.5644 GB, free: 9.348 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.04452/0.5984, allocations: 14.52 MB / 0.5786 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5985, allocations: 8.031 kB / 0.5786 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003958/0.5989, allocations: 340.2 kB / 0.5789 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006151/0.605, allocations: 1.742 MB / 0.5806 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/0.636, allocations: 5.225 MB / 0.5857 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/0.6544, allocations: 7.773 MB / 0.5933 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009713/0.6553, allocations: 0.8308 MB / 0.5942 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003948/0.6593, allocations: 1.09 MB / 0.5952 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04203/0.7013, allocations: 16.63 MB / 0.6115 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005149/0.7018, allocations: 27.83 kB / 0.6115 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003203/0.705, allocations: 460 kB / 0.6119 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007195/0.7057, allocations: 0.5851 MB / 0.6125 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3731/1.079, allocations: 14.78 MB / 0.6269 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08416/1.163, allocations: 57.43 MB / 0.683 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/1.179, allocations: 20.82 MB / 0.7033 GB, free: 88.44 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00488/1.184, allocations: 3.052 MB / 0.7063 GB, free: 85.69 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/1.2, allocations: 10.41 MB / 0.7165 GB, free: 75.27 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/1.2, allocations: 69.44 kB / 0.7166 GB, free: 75.19 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=317): time 5.07e-06/1.2, allocations: 0 / 0.7166 GB, free: 75.19 MB / 0.5138 GB Notification: Performance of matching and sorting (n=407): time 0.04531/1.245, allocations: 23.37 MB / 0.7394 GB, free: 52.11 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/1.245, allocations: 120.5 kB / 0.7395 GB, free: 51.97 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007309/1.252, allocations: 5.202 MB / 0.7446 GB, free: 46.85 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005246/1.253, allocations: 89.7 kB / 0.7447 GB, free: 46.75 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002106/1.255, allocations: 5.356 MB / 0.7499 GB, free: 41.45 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001174/1.256, allocations: 1.475 MB / 0.7513 GB, free: 39.99 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/1.259, allocations: 1.37 MB / 0.7527 GB, free: 38.61 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.345e-05/1.259, allocations: 305.1 kB / 0.7529 GB, free: 38.31 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00424/1.263, allocations: 3.066 MB / 0.7559 GB, free: 35.24 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005452/1.268, allocations: 5.911 MB / 0.7617 GB, free: 28.01 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009811/1.278, allocations: 9.479 MB / 0.771 GB, free: 17.17 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.75e-05/1.278, allocations: 32 kB / 0.771 GB, free: 17.14 MB / 0.5138 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01687/1.295, allocations: 10.9 MB / 0.7816 GB, free: 6.148 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/1.295, allocations: 47.94 kB / 0.7817 GB, free: 6.102 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.295, allocations: 96.56 kB / 0.7818 GB, free: 6.008 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00403/1.299, allocations: 1.617 MB / 0.7834 GB, free: 4.375 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005247/1.305, allocations: 1.536 MB / 0.7849 GB, free: 2.836 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02627/1.331, allocations: 19.35 MB / 0.8038 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/1.337, allocations: 431.3 kB / 0.8042 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.338, allocations: 367.9 kB / 0.8045 GB, free: 14.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * 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 (792): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(8,26,67.2%), (8,26,65.6%), (1,8,100.0%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007537/1.346, allocations: 3.833 MB / 0.8083 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/1.347, allocations: 0.5473 MB / 0.8088 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/1.364, allocations: 7.525 MB / 0.8161 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008788/1.373, allocations: 4.214 MB / 0.8203 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-05/1.373, allocations: 19.94 kB / 0.8203 GB, free: 13.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.368e-05/1.373, allocations: 23.92 kB / 0.8203 GB, free: 13.67 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2524/1.626, allocations: 17.2 MB / 0.8371 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.626, allocations: 5.094 kB / 0.8371 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/1.629, allocations: 0.6583 MB / 0.8377 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004292/1.633, allocations: 1.506 MB / 0.8392 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005104/1.634, allocations: 95.55 kB / 0.8393 GB, free: 178.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/1.656, allocations: 21.57 MB / 0.8604 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.656, allocations: 10.52 kB / 0.8604 GB, free: 164.7 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01821/1.674, allocations: 10.77 MB / 0.8709 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002914/1.677, allocations: 1.113 MB / 0.872 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/1.678, allocations: 91.41 kB / 0.8721 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/1.681, allocations: 219.9 kB / 0.8723 GB, free: 159.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008381/1.682, allocations: 321.8 kB / 0.8726 GB, free: 159.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/1.683, allocations: 119.4 kB / 0.8727 GB, free: 159.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005645/1.688, allocations: 3.447 MB / 0.8761 GB, free: 158.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.41e-07/1.688, allocations: 0 / 0.8761 GB, free: 158.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007924/1.696, allocations: 1.927 MB / 0.878 GB, free: 158.1 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 ($outputAlias_Ptr,smee.phiMechanical,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (328): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (2,8,100.0%), (1,4,100.0%), (1,11,100.0%), (3,4,77.8%), (8,20,64.1%), (8,26,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01649/1.713, allocations: 11.54 MB / 0.8892 GB, free: 152.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01284/1.725, allocations: 8.262 MB / 0.8973 GB, free: 147.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.725, allocations: 4.281 kB / 0.8973 GB, free: 147.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007051/1.732, allocations: 4.314 MB / 0.9015 GB, free: 143.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007245/1.74, allocations: 1.214 MB / 0.9027 GB, free: 142.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/1.845, allocations: 66.67 MB / 0.9678 GB, free: 74.85 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009876/1.855, allocations: 6.707 MB / 0.9744 GB, free: 68.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005625/1.861, allocations: 1.899 MB / 0.9762 GB, free: 66.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005607/1.866, allocations: 4.147 MB / 0.9803 GB, free: 62.05 MB / 0.5607 GB Notification: Performance of SimCode: time 1.102e-06/1.866, allocations: 0 / 0.9803 GB, free: 62.05 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.334/4.201, allocations: 154 MB / 1.131 GB, free: 136.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.74/29.94, allocations: 14.27 kB / 1.131 GB, free: 136.6 MB / 0.5763 GB " [Timeout remaining time 630] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.55510142800631] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed.phi', 'constantSpeedQS.phi', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.stray.port_p.Phi.im', 'smee.stator.stray.port_p.Phi.re', 'smee.stator.zeroInductor.i0', 'smeeQS.short.port_p.reference.gamma'] 30.16777916700812 30.182205669 29.625712264 Calling exit ...