Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 193.5 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_0_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_0_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.001456/0.001456, allocations: 47.92 kB / 371.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2468, allocations: 52.17 MB / 423.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04261/0.2895, allocations: 35.23 MB / 458.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02473/0.3142, allocations: 10.76 MB / 469.4 MB, free: 200 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007164/0.3214, allocations: 354.2 kB / 469.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01886/0.3402, allocations: 7.432 MB / 477.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.3535, allocations: 3.678 MB / 480.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007068/0.3606, allocations: 2.256 MB / 483.1 MB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01822/0.3788, allocations: 12.53 MB / 495.6 MB, free: 5.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02738/0.4062, allocations: 15.76 MB / 0.4994 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.4175, allocations: 6.522 MB / 0.5058 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01266/0.4301, allocations: 7.237 MB / 0.5128 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00461/0.4348, allocations: 1.828 MB / 0.5146 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006253/0.441, allocations: 2.234 MB / 0.5168 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004899/0.4459, allocations: 3.659 MB / 0.5204 GB, free: 444 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.4566, allocations: 5.545 MB / 0.5258 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.236/0.6925, allocations: 24.18 MB / 0.5494 GB, free: 43.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.6926, allocations: 2.438 kB / 0.5494 GB, free: 43.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6926, allocations: 0 / 0.5494 GB, free: 43.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007855/0.6933, allocations: 0 / 0.5494 GB, free: 43.92 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.04313/0.7365, allocations: 14.39 MB / 0.5635 GB, free: 38.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.7365, allocations: 9.125 kB / 0.5635 GB, free: 38.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003148/0.7368, allocations: 338.3 kB / 0.5638 GB, free: 37.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005277/0.7421, allocations: 1.749 MB / 0.5655 GB, free: 37.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02682/0.7689, allocations: 5.23 MB / 0.5706 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/0.7844, allocations: 7.708 MB / 0.5781 GB, free: 32.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006249/0.785, allocations: 0.8334 MB / 0.5789 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004186/0.7892, allocations: 1.088 MB / 0.58 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03891/0.8281, allocations: 16.81 MB / 0.5964 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003364/0.8285, allocations: 19.23 kB / 0.5964 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002376/0.8308, allocations: 457.7 kB / 0.5969 GB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004057/0.8312, allocations: 0.5852 MB / 0.5975 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02778/0.859, allocations: 14.76 MB / 0.6119 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09828/0.9573, allocations: 49.29 MB / 0.66 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/0.9727, allocations: 7.474 MB / 0.6673 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005761/0.9785, allocations: 3.019 MB / 0.6702 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01887/0.9973, allocations: 8.569 MB / 0.6786 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.915e-05/0.9974, allocations: 68.84 kB / 0.6787 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=317): time 7.504e-06/0.9974, allocations: 0 / 0.6787 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=407): time 0.05607/1.053, allocations: 22.7 MB / 0.7009 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/1.054, allocations: 120.5 kB / 0.701 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008546/1.062, allocations: 5.165 MB / 0.706 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006837/1.063, allocations: 93.7 kB / 0.7061 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004064/1.067, allocations: 5.341 MB / 0.7113 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.069, allocations: 1.483 MB / 0.7128 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00226/1.071, allocations: 1.354 MB / 0.7141 GB, free: 9.203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.071, allocations: 311.6 kB / 0.7144 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005052/1.076, allocations: 3.055 MB / 0.7174 GB, free: 5.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007527/1.084, allocations: 5.952 MB / 0.7232 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/1.097, allocations: 9.466 MB / 0.7324 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/1.097, allocations: 28 kB / 0.7325 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.0215/1.119, allocations: 10.73 MB / 0.7429 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.431e-05/1.119, allocations: 51.94 kB / 0.743 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.119, allocations: 92 kB / 0.7431 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/1.123, allocations: 1.616 MB / 0.7446 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005863/1.129, allocations: 1.53 MB / 0.7461 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2401/1.369, allocations: 18.56 MB / 0.7643 GB, free: 208.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00546/1.375, allocations: 435.1 kB / 0.7647 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008988/1.376, allocations: 359.8 kB / 0.765 GB, free: 208.1 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.005594/1.381, allocations: 3.824 MB / 0.7688 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.382, allocations: 0.5522 MB / 0.7693 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.393, allocations: 7.353 MB / 0.7765 GB, free: 203.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005646/1.399, allocations: 4.213 MB / 0.7806 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-05/1.399, allocations: 16.66 kB / 0.7806 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.51e-05/1.399, allocations: 18.84 kB / 0.7806 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.424, allocations: 16.21 MB / 0.7965 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/1.424, allocations: 7.703 kB / 0.7965 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/1.427, allocations: 0.657 MB / 0.7971 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/1.43, allocations: 1.515 MB / 0.7986 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/1.431, allocations: 90.98 kB / 0.7987 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/1.449, allocations: 20.57 MB / 0.8188 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.449, allocations: 11.94 kB / 0.8188 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.464, allocations: 10.61 MB / 0.8291 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/1.467, allocations: 1.065 MB / 0.8302 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/1.468, allocations: 80 kB / 0.8302 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/1.471, allocations: 231.8 kB / 0.8305 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007366/1.471, allocations: 326.7 kB / 0.8308 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/1.472, allocations: 120 kB / 0.8309 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004553/1.476, allocations: 3.43 MB / 0.8342 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/1.476, allocations: 0 / 0.8342 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007145/1.483, allocations: 1.933 MB / 0.8361 GB, free: 152.9 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.01413/1.497, allocations: 11.35 MB / 0.8472 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.509, allocations: 8.182 MB / 0.8552 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.509, allocations: 1.875 kB / 0.8552 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006962/1.516, allocations: 4.305 MB / 0.8594 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006521/1.523, allocations: 1.206 MB / 0.8606 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09248/1.615, allocations: 66.42 MB / 0.9254 GB, free: 57.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006652/1.622, allocations: 6.295 MB / 0.9316 GB, free: 51.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004724/1.626, allocations: 1.895 MB / 0.9334 GB, free: 49.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004306/1.631, allocations: 4.112 MB / 0.9375 GB, free: 45.11 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/1.631, allocations: 0 / 0.9375 GB, free: 45.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.42/2.051, allocations: 160.2 MB / 1.094 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.07/24.12, allocations: 8.047 kB / 1.094 GB, free: 128.8 MB / 0.5762 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.051039387937635] 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'] 24.388922872953117 24.397914087 23.702869673 Calling exit ...