Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_0_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_4_1_0_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.001476/0.001476, allocations: 39.94 kB / 378.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2324, allocations: 53.36 MB / 432 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04467/0.2771, allocations: 42.02 MB / 474 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02252/0.2996, allocations: 11.45 MB / 485.4 MB, free: 1.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006758/0.3064, allocations: 354.2 kB / 485.8 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01815/0.3245, allocations: 8.027 MB / 493.8 MB, free: 8.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.336, allocations: 3.744 MB / 497.6 MB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006718/0.3427, allocations: 2.363 MB / 499.9 MB, free: 2.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01711/0.3598, allocations: 12.62 MB / 0.5005 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02748/0.3873, allocations: 15.77 MB / 0.5159 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.3973, allocations: 6.518 MB / 0.5223 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/0.4097, allocations: 7.358 MB / 0.5295 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005723/0.4154, allocations: 1.828 MB / 0.5313 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0067/0.4221, allocations: 2.273 MB / 0.5335 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00558/0.4277, allocations: 3.658 MB / 0.5371 GB, free: 380 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2251/0.6528, allocations: 7.098 MB / 0.544 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02661/0.6794, allocations: 24.12 MB / 0.5675 GB, free: 24.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6794, allocations: 0 / 0.5675 GB, free: 24.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6794, allocations: 0 / 0.5675 GB, free: 24.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007005/0.6801, allocations: 0 / 0.5675 GB, free: 24.8 MB / 446.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.04314/0.7233, allocations: 14.45 MB / 0.5816 GB, free: 17.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7233, allocations: 10.06 kB / 0.5817 GB, free: 17.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002932/0.7236, allocations: 338.8 kB / 0.582 GB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006185/0.7298, allocations: 1.745 MB / 0.5837 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02777/0.7576, allocations: 5.217 MB / 0.5888 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.7729, allocations: 7.747 MB / 0.5963 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005936/0.7735, allocations: 0.8305 MB / 0.5972 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004373/0.7779, allocations: 1.094 MB / 0.5982 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04242/0.8203, allocations: 16.64 MB / 0.6145 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004059/0.8207, allocations: 19.89 kB / 0.6145 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00322/0.8239, allocations: 462.5 kB / 0.6149 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006356/0.8245, allocations: 0.577 MB / 0.6155 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.8566, allocations: 14.79 MB / 0.6299 GB, free: 7.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09732/0.9539, allocations: 53.92 MB / 0.6826 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/0.9704, allocations: 7.643 MB / 0.6901 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005903/0.9763, allocations: 3.038 MB / 0.693 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01922/0.9955, allocations: 9.471 MB / 0.7023 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.9956, allocations: 65.56 kB / 0.7023 GB, free: 13.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=317): time 5.59e-06/0.9956, allocations: 0 / 0.7023 GB, free: 13.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=407): time 0.05364/1.049, allocations: 22.77 MB / 0.7246 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/1.049, allocations: 124.5 kB / 0.7247 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008845/1.058, allocations: 5.191 MB / 0.7298 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006703/1.059, allocations: 89.7 kB / 0.7299 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004217/1.063, allocations: 5.352 MB / 0.7351 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.065, allocations: 1.483 MB / 0.7365 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002609/1.067, allocations: 1.362 MB / 0.7379 GB, free: 9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.068, allocations: 305.1 kB / 0.7381 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005433/1.073, allocations: 3.07 MB / 0.7411 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2313/1.304, allocations: 5.901 MB / 0.7469 GB, free: 203.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.317, allocations: 9.485 MB / 0.7562 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001663/1.317, allocations: 25.22 kB / 0.7562 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01899/1.336, allocations: 10.76 MB / 0.7667 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/1.336, allocations: 45.5 kB / 0.7668 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.336, allocations: 92.69 kB / 0.7668 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003801/1.34, allocations: 1.61 MB / 0.7684 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005174/1.345, allocations: 1.534 MB / 0.7699 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/1.364, allocations: 18.84 MB / 0.7883 GB, free: 183 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006273/1.37, allocations: 436 kB / 0.7887 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.371, allocations: 361.6 kB / 0.7891 GB, free: 182.8 MB / 0.5762 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.006915/1.378, allocations: 3.823 MB / 0.7928 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.38, allocations: 0.5469 MB / 0.7933 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.392, allocations: 7.361 MB / 0.8005 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006705/1.399, allocations: 4.226 MB / 0.8047 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-05/1.399, allocations: 20 kB / 0.8047 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/1.399, allocations: 21.94 kB / 0.8047 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/1.429, allocations: 17.08 MB / 0.8214 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/1.429, allocations: 4.062 kB / 0.8214 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002812/1.432, allocations: 0.6553 MB / 0.822 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/1.435, allocations: 1.511 MB / 0.8235 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005919/1.436, allocations: 99.95 kB / 0.8236 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/1.454, allocations: 20.85 MB / 0.8439 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.454, allocations: 8.406 kB / 0.844 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.471, allocations: 10.63 MB / 0.8543 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003019/1.474, allocations: 1.058 MB / 0.8554 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.475, allocations: 79.98 kB / 0.8554 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003257/1.478, allocations: 223.8 kB / 0.8557 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008822/1.479, allocations: 346.5 kB / 0.856 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/1.479, allocations: 124 kB / 0.8561 GB, free: 119.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0052/1.484, allocations: 3.439 MB / 0.8595 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.484, allocations: 0 / 0.8595 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007564/1.492, allocations: 1.929 MB / 0.8613 GB, free: 114 MB / 0.5762 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.01559/1.508, allocations: 11.39 MB / 0.8725 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.52, allocations: 8.189 MB / 0.8805 GB, free: 94.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.52, allocations: 0 / 0.8805 GB, free: 94.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007053/1.527, allocations: 4.32 MB / 0.8847 GB, free: 89.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006851/1.534, allocations: 1.202 MB / 0.8859 GB, free: 88.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09841/1.633, allocations: 66.49 MB / 0.9508 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009462/1.642, allocations: 6.707 MB / 0.9573 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005205/1.647, allocations: 1.899 MB / 0.9592 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005648/1.653, allocations: 4.151 MB / 0.9633 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of SimCode: time 1.483e-06/1.653, allocations: 0 / 0.9633 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4007/2.054, allocations: 159.9 MB / 1.119 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.2/25.25, allocations: 7.188 kB / 1.119 GB, free: 78.66 MB / 0.5762 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.489141688973177] 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'] 25.495710623043124 25.503724944 24.82209363 Calling exit ...