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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 109.4 kB / 20.22 MB, free: 1.812 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.001884/0.001884, allocations: 218.9 kB / 23.48 MB, free: 5.254 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.415/1.415, allocations: 230.5 MB / 257 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [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.002059/0.002059, allocations: 71.88 kB / 377.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2841, allocations: 53.31 MB / 430.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01526/0.2994, allocations: 13.01 MB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008744/0.3081, allocations: 4.28 MB / 447.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.3105, allocations: 79.69 kB / 447.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.3135, allocations: 1.025 MB / 448.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.3179, allocations: 1.231 MB / 450 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.3197, allocations: 0.5383 MB / 450.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006666/0.3263, allocations: 4.641 MB / 455.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004259/0.3306, allocations: 2.073 MB / 457.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/0.3355, allocations: 2.147 MB / 459.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005089/0.3406, allocations: 2.627 MB / 462 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.3425, allocations: 0.5508 MB / 462.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.3452, allocations: 0.6561 MB / 463.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002724/0.3479, allocations: 1.539 MB / 464.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005321/0.3532, allocations: 2.489 MB / 467.3 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.3634, allocations: 7.459 MB / 474.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3634, allocations: 0 / 474.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3634, allocations: 0 / 474.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002786/0.3637, allocations: 7.938 kB / 474.7 MB, free: 10.7 MB / 382.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.01322/0.3769, allocations: 4.823 MB / 479.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.377, allocations: 8.031 kB / 479.6 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001512/0.3785, allocations: 0.4981 MB / 480.1 MB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.381, allocations: 0.5526 MB / 480.6 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005771/0.3868, allocations: 2.6 MB / 483.2 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.387, allocations: 267 kB / 483.5 MB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007264/0.3878, allocations: 359.9 kB / 483.8 MB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009063/0.3968, allocations: 5.031 MB / 488.9 MB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.419e-05/0.3969, allocations: 7.953 kB / 488.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.3973, allocations: 152 kB / 489 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.3974, allocations: 183 kB / 489.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007258/0.4047, allocations: 4.302 MB / 493.5 MB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/0.4287, allocations: 14.75 MB / 0.4963 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/0.4334, allocations: 4.069 MB / 0.5003 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/0.4365, allocations: 1.873 MB / 0.5021 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.4368, allocations: 131.1 kB / 0.5023 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.4368, allocations: 64.95 kB / 0.5023 GB, free: 2.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.456e-06/0.4368, allocations: 0 / 0.5023 GB, free: 2.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01977/0.4566, allocations: 9.99 MB / 0.5121 GB, free: 8.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.4567, allocations: 77.34 kB / 0.5122 GB, free: 7.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/0.4607, allocations: 2.522 MB / 0.5146 GB, free: 5.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.4609, allocations: 61.7 kB / 0.5147 GB, free: 5.375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.4623, allocations: 1.666 MB / 0.5163 GB, free: 3.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007695/0.4631, allocations: 0.763 MB / 0.5171 GB, free: 2.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007269/0.4638, allocations: 416.5 kB / 0.5175 GB, free: 2.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.464, allocations: 305.1 kB / 0.5177 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.466, allocations: 1.301 MB / 0.519 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.4685, allocations: 1.775 MB / 0.5207 GB, free: 14.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00461/0.4731, allocations: 3.215 MB / 0.5239 GB, free: 11.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.4731, allocations: 7.938 kB / 0.5239 GB, free: 11.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007066/0.4802, allocations: 4.065 MB / 0.5279 GB, free: 7.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.4802, allocations: 12.47 kB / 0.5279 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.4802, allocations: 16 kB / 0.5279 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.483, allocations: 0.8833 MB / 0.5288 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.4851, allocations: 0.5266 MB / 0.5293 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2226/0.7077, allocations: 9.465 MB / 0.5385 GB, free: 96.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.7099, allocations: 116.2 kB / 0.5386 GB, free: 96.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.7101, allocations: 84.44 kB / 0.5387 GB, free: 96.67 MB / 446.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.002187/0.7123, allocations: 1.226 MB / 0.5399 GB, free: 96.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/0.7129, allocations: 295.5 kB / 0.5402 GB, free: 96.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/0.7182, allocations: 3.695 MB / 0.5438 GB, free: 94.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.7182, allocations: 23.62 kB / 0.5438 GB, free: 94.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.7182, allocations: 11.41 kB / 0.5438 GB, free: 94.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.7182, allocations: 11.48 kB / 0.5438 GB, free: 94.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.7284, allocations: 8.001 MB / 0.5516 GB, free: 91.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.7284, allocations: 3.938 kB / 0.5517 GB, free: 91.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.7298, allocations: 388.9 kB / 0.552 GB, free: 91.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/0.7323, allocations: 0.9201 MB / 0.5529 GB, free: 91.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.7325, allocations: 55.52 kB / 0.553 GB, free: 91.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007968/0.7404, allocations: 11.11 MB / 0.5638 GB, free: 80.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7404, allocations: 0 / 0.5638 GB, free: 80.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/0.7467, allocations: 5.507 MB / 0.5692 GB, free: 75.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.7481, allocations: 0.6538 MB / 0.5698 GB, free: 74.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.7484, allocations: 51.98 kB / 0.5699 GB, free: 74.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.7496, allocations: 115.8 kB / 0.57 GB, free: 74.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.7499, allocations: 181.8 kB / 0.5702 GB, free: 74.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.75, allocations: 59.98 kB / 0.5702 GB, free: 74.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.752, allocations: 1.739 MB / 0.5719 GB, free: 72.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.752, allocations: 0 / 0.5719 GB, free: 72.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002091/0.7541, allocations: 0.7988 MB / 0.5727 GB, free: 71.76 MB / 446.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.00661/0.7607, allocations: 6.208 MB / 0.5788 GB, free: 65.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004786/0.7655, allocations: 3.772 MB / 0.5825 GB, free: 61.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.7655, allocations: 1.938 kB / 0.5825 GB, free: 61.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/0.7684, allocations: 2.389 MB / 0.5848 GB, free: 59.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/0.7725, allocations: 0.7849 MB / 0.5856 GB, free: 58.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/0.8083, allocations: 29.66 MB / 0.6145 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/0.8101, allocations: 2.781 MB / 0.6172 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001728/0.8118, allocations: 0.6829 MB / 0.6179 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.8132, allocations: 1.421 MB / 0.6193 GB, free: 23.14 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8132, allocations: 0 / 0.6193 GB, free: 23.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/0.9522, allocations: 74.55 MB / 0.6921 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/16.57, allocations: 0.6875 kB / 0.6921 GB, free: 13.23 MB / 0.4981 GB " [Timeout remaining time 643] (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 --stepSize=0.0001 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.163563369074836] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 16.696902618044987 16.716946637 16.349850208 Calling exit ...