Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.51/1.51, allocations: 227.7 MB / 247 MB, free: 10.29 MB / 206.1 MB 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.00227/0.002271, allocations: 68.48 kB / 307.3 MB, free: 400 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1366, allocations: 50.54 MB / 357.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0177/0.1544, allocations: 12.89 MB / 370.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2357/0.3902, allocations: 4.256 MB / 375 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.3934, allocations: 84.23 kB / 375.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.3963, allocations: 0.9724 MB / 376.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005515/0.4018, allocations: 1.181 MB / 377.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.4037, allocations: 0.5264 MB / 377.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008694/0.4124, allocations: 4.626 MB / 382.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005917/0.4183, allocations: 3.686 MB / 386.1 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00663/0.425, allocations: 2.135 MB / 388.2 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006427/0.4315, allocations: 2.563 MB / 390.8 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002587/0.4341, allocations: 0.5516 MB / 391.3 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.4374, allocations: 0.6575 MB / 392 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.4397, allocations: 1.524 MB / 393.5 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004731/0.4444, allocations: 2.482 MB / 396 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009229/0.4537, allocations: 7.367 MB / 403.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.4537, allocations: 8 kB / 403.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4537, allocations: 3.938 kB / 403.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003216/0.4541, allocations: 3.938 kB / 403.4 MB, free: 11.91 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.013/0.4671, allocations: 4.706 MB / 408.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4671, allocations: 12.03 kB / 408.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009942/0.4681, allocations: 0.4969 MB / 408.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.4699, allocations: 0.5268 MB / 409.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.4755, allocations: 2.509 MB / 411.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.4758, allocations: 270.2 kB / 411.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008359/0.4767, allocations: 354.8 kB / 412.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.4903, allocations: 5.02 MB / 417.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.4905, allocations: 15.91 kB / 417.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006383/0.4912, allocations: 142.3 kB / 417.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002504/0.4914, allocations: 187 kB / 417.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.5019, allocations: 4.294 MB / 421.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03001/0.5319, allocations: 14.89 MB / 436.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00523/0.5372, allocations: 4.2 MB / 441 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003577/0.5408, allocations: 1.996 MB / 443 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.5411, allocations: 130.2 kB / 443.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/0.5412, allocations: 60.97 kB / 443.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.477e-06/0.5412, allocations: 0 / 443.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02171/0.5629, allocations: 9.943 MB / 453.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.563, allocations: 81.34 kB / 453.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004112/0.5672, allocations: 2.514 MB / 455.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002687/0.5675, allocations: 65.7 kB / 455.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.5689, allocations: 1.629 MB / 457.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007608/0.5696, allocations: 0.7231 MB / 458.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007247/0.5704, allocations: 420.2 kB / 458.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5705, allocations: 301.1 kB / 458.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.5727, allocations: 1.301 MB / 460.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.5752, allocations: 1.782 MB / 461.9 MB, free: 360 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/0.5803, allocations: 3.215 MB / 465.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.5803, allocations: 4 kB / 465.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007651/0.588, allocations: 4.071 MB / 469.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.588, allocations: 12 kB / 469.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.5881, allocations: 12 kB / 469.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002841/0.5909, allocations: 0.8876 MB / 470.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.5932, allocations: 0.5266 MB / 470.6 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.6053, allocations: 9.486 MB / 480.1 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.6083, allocations: 119.8 kB / 480.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004158/0.6087, allocations: 83.98 kB / 480.3 MB, free: 13.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002955/0.6117, allocations: 1.231 MB / 481.6 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009391/0.6126, allocations: 276.7 kB / 481.8 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007553/0.6202, allocations: 3.711 MB / 485.5 MB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.6202, allocations: 20 kB / 485.6 MB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/0.6203, allocations: 12 kB / 485.6 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.6203, allocations: 15.89 kB / 485.6 MB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/0.6368, allocations: 8.082 MB / 493.7 MB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.6369, allocations: 4 kB / 493.7 MB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.6386, allocations: 391.7 kB / 494.1 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003189/0.6418, allocations: 0.9213 MB / 495 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.642, allocations: 59.97 kB / 495 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.6554, allocations: 11.1 MB / 0.4943 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.6554, allocations: 8 kB / 0.4943 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009943/0.6654, allocations: 5.507 MB / 0.4997 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/0.6672, allocations: 0.6343 MB / 0.5003 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005726/0.6678, allocations: 51.98 kB / 0.5003 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.6693, allocations: 115.9 kB / 0.5004 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/0.6697, allocations: 185.7 kB / 0.5006 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.6699, allocations: 59.98 kB / 0.5007 GB, free: 12.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002985/0.6729, allocations: 1.739 MB / 0.5024 GB, free: 10.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6729, allocations: 0 / 0.5024 GB, free: 10.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004223/0.6771, allocations: 0.8008 MB / 0.5032 GB, free: 9.609 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,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.0109/0.6881, allocations: 6.204 MB / 0.5092 GB, free: 3.344 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01228/0.7004, allocations: 5.707 MB / 0.5148 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.7005, allocations: 3.938 kB / 0.5148 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004522/0.705, allocations: 2.477 MB / 0.5172 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004033/0.709, allocations: 0.7933 MB / 0.518 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2423/0.9513, allocations: 34.22 MB / 0.5514 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002353/0.9537, allocations: 2.779 MB / 0.5541 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002105/0.9559, allocations: 0.6854 MB / 0.5548 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/0.9574, allocations: 1.415 MB / 0.5562 GB, free: 128.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.9574, allocations: 0 / 0.5562 GB, free: 128.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.093, allocations: 74.94 MB / 0.6294 GB, free: 58.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.37, allocations: 448 / 0.6294 GB, free: 58.82 MB / 446.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1)