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.001638/0.001638, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001758/0.001758, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.398/1.398, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.001844/0.001844, allocations: 55.91 kB / 378.6 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2565, allocations: 53.39 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.0427/0.2992, allocations: 35.78 MB / 467.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02559/0.3248, allocations: 11.02 MB / 478.7 MB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008342/0.3331, allocations: 358.1 kB / 479.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02003/0.3531, allocations: 7.456 MB / 486.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0136/0.3667, allocations: 3.678 MB / 490.2 MB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008225/0.375, allocations: 2.288 MB / 492.5 MB, free: 9.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01927/0.3942, allocations: 12.64 MB / 0.4933 GB, free: 13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03042/0.4246, allocations: 15.75 MB / 0.5087 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01254/0.4372, allocations: 6.518 MB / 0.5151 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01356/0.4507, allocations: 7.362 MB / 0.5223 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005145/0.4559, allocations: 1.824 MB / 0.524 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007851/0.4637, allocations: 2.257 MB / 0.5262 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006498/0.4702, allocations: 3.659 MB / 0.5298 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.4821, allocations: 5.552 MB / 0.5352 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2505/0.7325, allocations: 24.23 MB / 0.5589 GB, free: 38.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.7325, allocations: 0 / 0.5589 GB, free: 38.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7325, allocations: 0 / 0.5589 GB, free: 38.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008157/0.7333, allocations: 0.8125 kB / 0.5589 GB, free: 38.77 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.04384/0.7772, allocations: 14.44 MB / 0.573 GB, free: 31.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.7772, allocations: 13.67 kB / 0.573 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003038/0.7775, allocations: 335.1 kB / 0.5733 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006167/0.7837, allocations: 1.748 MB / 0.575 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02842/0.8121, allocations: 5.216 MB / 0.5801 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/0.8282, allocations: 7.754 MB / 0.5877 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006655/0.8289, allocations: 0.8242 MB / 0.5885 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004479/0.8333, allocations: 1.098 MB / 0.5896 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04269/0.876, allocations: 16.83 MB / 0.606 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005114/0.8765, allocations: 19.38 kB / 0.606 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003969/0.8805, allocations: 461.8 kB / 0.6065 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000483/0.881, allocations: 0.5774 MB / 0.607 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03263/0.9136, allocations: 14.79 MB / 0.6215 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1023/1.016, allocations: 49.47 MB / 0.6698 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/1.033, allocations: 7.568 MB / 0.6772 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00621/1.039, allocations: 3.048 MB / 0.6802 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02049/1.06, allocations: 8.67 MB / 0.6886 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/1.06, allocations: 73.56 kB / 0.6887 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=317): time 6.713e-06/1.06, allocations: 0 / 0.6887 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=407): time 0.05851/1.118, allocations: 22.77 MB / 0.7109 GB, free: 11.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/1.118, allocations: 124.5 kB / 0.7111 GB, free: 11.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009347/1.128, allocations: 5.191 MB / 0.7161 GB, free: 6.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006664/1.128, allocations: 89.7 kB / 0.7162 GB, free: 6.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004619/1.133, allocations: 5.353 MB / 0.7214 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.135, allocations: 1.478 MB / 0.7229 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002815/1.138, allocations: 1.366 MB / 0.7242 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.138, allocations: 301.1 kB / 0.7245 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006158/1.144, allocations: 3.074 MB / 0.7275 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009996/1.154, allocations: 5.954 MB / 0.7333 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/1.17, allocations: 9.477 MB / 0.7426 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/1.17, allocations: 28 kB / 0.7426 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.242/1.412, allocations: 10.76 MB / 0.7531 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/1.412, allocations: 51.03 kB / 0.7532 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.412, allocations: 93.62 kB / 0.7532 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004366/1.417, allocations: 1.608 MB / 0.7548 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/1.422, allocations: 1.541 MB / 0.7563 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/1.441, allocations: 18.58 MB / 0.7745 GB, free: 193.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/1.447, allocations: 436.6 kB / 0.7749 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/1.448, allocations: 363.9 kB / 0.7752 GB, free: 193.2 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.006223/1.455, allocations: 3.817 MB / 0.779 GB, free: 191.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/1.456, allocations: 0.5507 MB / 0.7795 GB, free: 191.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.468, allocations: 7.363 MB / 0.7867 GB, free: 188.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006432/1.475, allocations: 4.223 MB / 0.7908 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.391e-05/1.475, allocations: 19.78 kB / 0.7908 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/1.475, allocations: 18.84 kB / 0.7909 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02847/1.503, allocations: 16.25 MB / 0.8067 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.504, allocations: 4.625 kB / 0.8067 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/1.506, allocations: 0.6564 MB / 0.8074 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/1.51, allocations: 1.511 MB / 0.8088 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005659/1.511, allocations: 95.97 kB / 0.8089 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/1.529, allocations: 20.58 MB / 0.829 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.529, allocations: 4 kB / 0.829 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/1.545, allocations: 10.62 MB / 0.8394 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/1.548, allocations: 1.064 MB / 0.8405 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009764/1.549, allocations: 76 kB / 0.8405 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.552, allocations: 223.8 kB / 0.8407 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007574/1.552, allocations: 344 kB / 0.8411 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/1.553, allocations: 120 kB / 0.8412 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004929/1.558, allocations: 3.447 MB / 0.8445 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.558, allocations: 0 / 0.8445 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007982/1.566, allocations: 1.925 MB / 0.8464 GB, free: 134.3 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.01579/1.581, allocations: 11.39 MB / 0.8575 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.594, allocations: 8.19 MB / 0.8655 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.594, allocations: 0 / 0.8655 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006954/1.601, allocations: 4.314 MB / 0.8698 GB, free: 110.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006662/1.608, allocations: 1.206 MB / 0.8709 GB, free: 109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.105/1.712, allocations: 66.48 MB / 0.9359 GB, free: 38.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009871/1.722, allocations: 6.296 MB / 0.942 GB, free: 32.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005395/1.728, allocations: 1.907 MB / 0.9439 GB, free: 30.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006196/1.734, allocations: 4.151 MB / 0.9479 GB, free: 26.43 MB / 0.5762 GB Notification: Performance of SimCode: time 1.372e-06/1.734, allocations: 0 / 0.9479 GB, free: 26.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4153/2.149, allocations: 160.9 MB / 1.105 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.04/26.19, allocations: 3.875 kB / 1.105 GB, free: 101.7 MB / 0.5762 GB " [Timeout remaining time 634] (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: 29.336246112012304] 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'] 26.445273033925332 26.456046593 25.720706112 Calling exit ...