Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001181/0.001181, allocations: 109.5 kB / 19.74 MB, free: 2.586 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.001298/0.001298, allocations: 223.1 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.273/1.273, allocations: 230.5 MB / 256.4 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 71.83 kB / 376.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2222, allocations: 53.31 MB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01314/0.2353, allocations: 11.61 MB / 441 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006826/0.2421, allocations: 3.956 MB / 445 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.2436, allocations: 63.75 kB / 445 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.2457, allocations: 0.873 MB / 445.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.2483, allocations: 0.9823 MB / 446.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2493, allocations: 0.5187 MB / 447.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.2524, allocations: 3.234 MB / 450.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.2542, allocations: 1.477 MB / 452.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.2557, allocations: 1.441 MB / 453.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.2578, allocations: 1.864 MB / 455.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004742/0.2583, allocations: 388 kB / 455.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.2593, allocations: 0.6284 MB / 456.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009946/0.2603, allocations: 1.087 MB / 457.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.2618, allocations: 1.723 MB / 459.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.2665, allocations: 5.076 MB / 464.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2665, allocations: 3.938 kB / 464.3 MB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.099e-06/0.2665, allocations: 4 kB / 464.3 MB, free: 4.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.324e-05/0.2666, allocations: 0 / 464.3 MB, free: 4.344 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.006481/0.2731, allocations: 3.57 MB / 467.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2732, allocations: 16.03 kB / 467.9 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004355/0.2736, allocations: 362.9 kB / 468.3 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.2751, allocations: 456.8 kB / 468.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.2779, allocations: 1.873 MB / 470.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.278, allocations: 189 kB / 470.8 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.2784, allocations: 255.9 kB / 471 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/0.2833, allocations: 3.247 MB / 474.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/0.2833, allocations: 3.953 kB / 474.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.2836, allocations: 104 kB / 474.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.2837, allocations: 120.9 kB / 474.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.288, allocations: 2.705 MB / 477.2 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.3022, allocations: 10.27 MB / 487.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.3045, allocations: 1.704 MB / 489.2 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.3062, allocations: 0.98 MB / 490.2 MB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.3065, allocations: 207.2 kB / 490.4 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3065, allocations: 51.5 kB / 490.4 MB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.685e-06/0.3065, allocations: 0 / 490.4 MB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01689/0.3234, allocations: 7.444 MB / 497.9 MB, free: 1.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.3235, allocations: 64.72 kB / 497.9 MB, free: 1.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.3261, allocations: 1.889 MB / 499.8 MB, free: 12 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.915e-05/0.3262, allocations: 49.7 kB / 499.9 MB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.3272, allocations: 1.283 MB / 0.4894 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.3276, allocations: 495.8 kB / 0.4899 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004648/0.328, allocations: 295.5 kB / 0.4902 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3282, allocations: 305.1 kB / 0.4904 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.3295, allocations: 0.812 MB / 0.4912 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.3313, allocations: 1.312 MB / 0.4925 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.3346, allocations: 2.258 MB / 0.4947 GB, free: 8.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.3346, allocations: 4 kB / 0.4947 GB, free: 8.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00489/0.3395, allocations: 2.803 MB / 0.4975 GB, free: 5.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.3395, allocations: 14.81 kB / 0.4975 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.3395, allocations: 16 kB / 0.4975 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00096/0.3405, allocations: 421.7 kB / 0.4979 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.3419, allocations: 403.3 kB / 0.4983 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006655/0.3486, allocations: 5.788 MB / 0.5039 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.35, allocations: 131.8 kB / 0.5041 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.3501, allocations: 72 kB / 0.5041 GB, free: 14.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001354/0.3515, allocations: 0.79 MB / 0.5049 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.3518, allocations: 202.7 kB / 0.5051 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.356, allocations: 2.391 MB / 0.5074 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/0.356, allocations: 19.94 kB / 0.5074 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.356, allocations: 4 kB / 0.5074 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.3561, allocations: 11.97 kB / 0.5075 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008287/0.3643, allocations: 5.253 MB / 0.5126 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.3644, allocations: 4 kB / 0.5126 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.3654, allocations: 252.2 kB / 0.5128 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.3665, allocations: 456.9 kB / 0.5133 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.195e-05/0.3666, allocations: 35.98 kB / 0.5133 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007435/0.374, allocations: 7.342 MB / 0.5205 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.374, allocations: 11.94 kB / 0.5205 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/0.3796, allocations: 3.58 MB / 0.524 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007929/0.3804, allocations: 463.6 kB / 0.5244 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.3806, allocations: 35.98 kB / 0.5245 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.3816, allocations: 95.83 kB / 0.5245 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.3819, allocations: 116.7 kB / 0.5247 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.519e-05/0.382, allocations: 43.98 kB / 0.5247 GB, free: 8.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001844/0.3838, allocations: 1.299 MB / 0.526 GB, free: 7.695 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3838, allocations: 0 / 0.526 GB, free: 7.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001669/0.3855, allocations: 0.5469 MB / 0.5265 GB, free: 7.148 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005942/0.3914, allocations: 4.253 MB / 0.5307 GB, free: 2.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.3953, allocations: 2.346 MB / 0.5329 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3953, allocations: 4.125 kB / 0.533 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.3976, allocations: 1.439 MB / 0.5344 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.3994, allocations: 454.4 kB / 0.5348 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1923/0.5917, allocations: 20.54 MB / 0.5548 GB, free: 114.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.5929, allocations: 2.014 MB / 0.5568 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009831/0.5939, allocations: 432.9 kB / 0.5572 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009106/0.5948, allocations: 0.9996 MB / 0.5582 GB, free: 112.4 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5948, allocations: 0 / 0.5582 GB, free: 112.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07044/0.6653, allocations: 49.46 MB / 0.6065 GB, free: 68.83 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.79, allocations: 3.938 kB / 0.6065 GB, free: 68.83 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.038528868994035]