Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006101/0.006101, allocations: 101.5 kB / 21.96 MB, free: 5.203 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.001584/0.001584, allocations: 217.5 kB / 25.26 MB, free: 3.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 55.92 kB / 348 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2536, allocations: 49.15 MB / 397.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03744/0.2911, allocations: 35.32 MB / 432.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0256/0.3167, allocations: 10.73 MB / 443.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00994/0.3266, allocations: 310.3 kB / 443.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0204/0.347, allocations: 7.456 MB / 451 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01418/0.3612, allocations: 3.725 MB / 454.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007936/0.3691, allocations: 2.301 MB / 457 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0193/0.3884, allocations: 12.73 MB / 469.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03251/0.4209, allocations: 15.81 MB / 485.6 MB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01163/0.4326, allocations: 6.607 MB / 492.2 MB, free: 3.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/0.4459, allocations: 7.365 MB / 499.5 MB, free: 12.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005603/0.4515, allocations: 1.844 MB / 0.4896 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007663/0.4591, allocations: 2.261 MB / 0.4918 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006514/0.4657, allocations: 3.725 MB / 0.4955 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01245/0.4781, allocations: 5.634 MB / 0.501 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03154/0.5096, allocations: 24.36 MB / 0.5247 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.5097, allocations: 0 / 0.5247 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5097, allocations: 0 / 0.5247 GB, free: 6.402 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000687/0.5103, allocations: 4 kB / 0.5248 GB, free: 6.398 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.04209/0.5524, allocations: 14.64 MB / 0.539 GB, free: 7.648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.5525, allocations: 11.98 kB / 0.5391 GB, free: 7.637 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003766/0.5529, allocations: 349.2 kB / 0.5394 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005778/0.5586, allocations: 1.79 MB / 0.5411 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03486/0.5935, allocations: 6.22 MB / 0.5472 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/0.6101, allocations: 7.093 MB / 0.5541 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008365/0.611, allocations: 0.8468 MB / 0.555 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004271/0.6153, allocations: 1.117 MB / 0.5561 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3921/1.007, allocations: 17.37 MB / 0.573 GB, free: 125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000502/1.008, allocations: 25.19 kB / 0.573 GB, free: 125 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003687/1.012, allocations: 473.4 kB / 0.5735 GB, free: 124.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007054/1.012, allocations: 0.6082 MB / 0.5741 GB, free: 124.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02998/1.042, allocations: 15.58 MB / 0.5893 GB, free: 118.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07757/1.12, allocations: 50.59 MB / 0.6387 GB, free: 72.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/1.133, allocations: 7.509 MB / 0.646 GB, free: 65.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004137/1.137, allocations: 3.031 MB / 0.649 GB, free: 62.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01391/1.151, allocations: 8.657 MB / 0.6575 GB, free: 53.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.151, allocations: 65.56 kB / 0.6575 GB, free: 53.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=317): time 5.841e-06/1.151, allocations: 3.938 kB / 0.6575 GB, free: 53.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=407): time 0.04439/1.195, allocations: 22.81 MB / 0.6798 GB, free: 31.28 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/1.195, allocations: 120.5 kB / 0.6799 GB, free: 31.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008488/1.204, allocations: 5.413 MB / 0.6852 GB, free: 25.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006012/1.204, allocations: 93.7 kB / 0.6853 GB, free: 25.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002595/1.207, allocations: 5.54 MB / 0.6907 GB, free: 20.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.208, allocations: 1.484 MB / 0.6922 GB, free: 18.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002969/1.211, allocations: 1.441 MB / 0.6936 GB, free: 17.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.149e-05/1.211, allocations: 313.1 kB / 0.6939 GB, free: 16.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/1.216, allocations: 3.18 MB / 0.697 GB, free: 13.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00589/1.222, allocations: 6.31 MB / 0.7031 GB, free: 6.047 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/1.234, allocations: 9.927 MB / 0.7128 GB, free: 10.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/1.234, allocations: 28 kB / 0.7128 GB, free: 10.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02276/1.257, allocations: 11.19 MB / 0.7238 GB, free: 15.37 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.257, allocations: 51.98 kB / 0.7238 GB, free: 15.32 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/1.257, allocations: 104 kB / 0.7239 GB, free: 15.21 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004705/1.262, allocations: 1.628 MB / 0.7255 GB, free: 13.57 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006161/1.268, allocations: 1.642 MB / 0.7271 GB, free: 11.93 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02598/1.294, allocations: 18.6 MB / 0.7453 GB, free: 8.77 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006613/1.301, allocations: 467.3 kB / 0.7457 GB, free: 8.312 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/1.302, allocations: 379.9 kB / 0.7461 GB, free: 7.941 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (843): * Single equations (assignments): 835 * 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,62.5%), (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.00832/1.311, allocations: 3.907 MB / 0.7499 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/1.313, allocations: 0.5628 MB / 0.7505 GB, free: 3.453 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/1.329, allocations: 7.385 MB / 0.7577 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008205/1.337, allocations: 4.214 MB / 0.7618 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.029e-05/1.337, allocations: 16 kB / 0.7618 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.32e-05/1.337, allocations: 23.92 kB / 0.7618 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2343/1.572, allocations: 16.32 MB / 0.7778 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.572, allocations: 5.5 kB / 0.7778 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/1.575, allocations: 0.6545 MB / 0.7784 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004263/1.579, allocations: 1.51 MB / 0.7799 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005558/1.579, allocations: 92.19 kB / 0.78 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/1.599, allocations: 20.59 MB / 0.8001 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.599, allocations: 5.812 kB / 0.8001 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.615, allocations: 10.63 MB / 0.8105 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/1.617, allocations: 1.073 MB / 0.8115 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.618, allocations: 77.34 kB / 0.8116 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/1.621, allocations: 240.4 kB / 0.8118 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008114/1.622, allocations: 333.2 kB / 0.8121 GB, free: 151 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002696/1.622, allocations: 117.3 kB / 0.8122 GB, free: 151 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005222/1.628, allocations: 3.583 MB / 0.8157 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/1.628, allocations: 0 / 0.8157 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008052/1.636, allocations: 1.974 MB / 0.8177 GB, free: 149.5 MB / 0.5294 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.01633/1.652, allocations: 11.38 MB / 0.8288 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.664, allocations: 8.405 MB / 0.837 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.664, allocations: 0 / 0.837 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006648/1.671, allocations: 4.319 MB / 0.8412 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006231/1.677, allocations: 1.205 MB / 0.8424 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1026/1.78, allocations: 68.62 MB / 0.9094 GB, free: 58.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01086/1.79, allocations: 6.4 MB / 0.9156 GB, free: 51.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005924/1.796, allocations: 2.005 MB / 0.9176 GB, free: 49.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005823/1.802, allocations: 4.198 MB / 0.9217 GB, free: 45.38 MB / 0.5294 GB Notification: Performance of SimCode: time 1.543e-06/1.802, allocations: 0 / 0.9217 GB, free: 45.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4534/2.256, allocations: 163.1 MB / 1.081 GB, free: 113 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.79/27.04, allocations: 7.938 kB / 1.081 GB, free: 113 MB / 0.545 GB " [Timeout remaining time 633] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Generator.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 32.197505868040025] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ptr', 'Pqs', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.strayReluctance.port_p.Phi.im', 'smee.stator.strayReluctance.port_p.Phi.re', 'smeeQS.short.port_p.reference.gamma'] 27.442337397951633 27.45075105 26.938716597 Calling exit ...