Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.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.001947/0.001947, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002556/0.002556, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.Transformers.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_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.002107/0.002107, allocations: 64.75 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2739, allocations: 53.38 MB / 432 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01723/0.2912, allocations: 13.02 MB / 445 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.3021, allocations: 4.284 MB / 449.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.3054, allocations: 99.38 kB / 449.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.3095, allocations: 1.021 MB / 450.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005322/0.3149, allocations: 1.251 MB / 451.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.3169, allocations: 0.5383 MB / 452.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007645/0.3245, allocations: 4.653 MB / 456.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004966/0.3295, allocations: 2.074 MB / 458.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.3345, allocations: 2.188 MB / 461.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.3394, allocations: 2.627 MB / 463.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001782/0.3412, allocations: 0.5547 MB / 464.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.3436, allocations: 0.6561 MB / 464.9 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002495/0.3461, allocations: 1.535 MB / 466.5 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004445/0.3505, allocations: 2.493 MB / 469 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009565/0.3601, allocations: 7.459 MB / 476.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3601, allocations: 0 / 476.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3601, allocations: 0 / 476.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002136/0.3603, allocations: 4 kB / 476.4 MB, free: 10.23 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.01303/0.3733, allocations: 4.752 MB / 481.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3734, allocations: 8.031 kB / 481.2 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.3746, allocations: 0.502 MB / 481.7 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.3764, allocations: 0.5487 MB / 482.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005678/0.3821, allocations: 2.548 MB / 484.8 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.3824, allocations: 267.1 kB / 485 MB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007508/0.3831, allocations: 351.9 kB / 485.4 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.3932, allocations: 5.025 MB / 490.4 MB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-05/0.3933, allocations: 11.89 kB / 490.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.3937, allocations: 144 kB / 490.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.3939, allocations: 183 kB / 490.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008866/0.4027, allocations: 4.298 MB / 495 MB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03116/0.4339, allocations: 14.59 MB / 0.4977 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005037/0.4389, allocations: 2.702 MB / 0.5003 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003745/0.4427, allocations: 1.874 MB / 0.5022 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003502/0.443, allocations: 61.94 kB / 0.5022 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.4431, allocations: 52.56 kB / 0.5023 GB, free: 3.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 8.626e-06/0.4431, allocations: 7.922 kB / 0.5023 GB, free: 3.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02364/0.4667, allocations: 9.612 MB / 0.5117 GB, free: 10.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4668, allocations: 81.39 kB / 0.5117 GB, free: 10.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00585/0.4727, allocations: 2.514 MB / 0.5142 GB, free: 7.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003821/0.4731, allocations: 61.7 kB / 0.5142 GB, free: 7.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.4748, allocations: 1.662 MB / 0.5159 GB, free: 5.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.4759, allocations: 0.7708 MB / 0.5166 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.4772, allocations: 420.5 kB / 0.517 GB, free: 4.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4774, allocations: 301.1 kB / 0.5173 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002787/0.4801, allocations: 1.297 MB / 0.5186 GB, free: 3.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.4831, allocations: 1.778 MB / 0.5203 GB, free: 1.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0057/0.4888, allocations: 3.215 MB / 0.5235 GB, free: 13.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-05/0.4889, allocations: 7.938 kB / 0.5235 GB, free: 13.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009056/0.4979, allocations: 4.065 MB / 0.5274 GB, free: 9.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.498, allocations: 12.45 kB / 0.5274 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/0.498, allocations: 23.98 kB / 0.5275 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/0.501, allocations: 0.8794 MB / 0.5283 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.5035, allocations: 0.5227 MB / 0.5288 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2379/0.7414, allocations: 9.166 MB / 0.5378 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.7436, allocations: 123.7 kB / 0.5379 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003491/0.744, allocations: 85.95 kB / 0.538 GB, free: 96.39 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.003358/0.7473, allocations: 1.212 MB / 0.5392 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/0.7486, allocations: 290 kB / 0.5394 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006993/0.7556, allocations: 3.699 MB / 0.5431 GB, free: 95.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/0.7556, allocations: 22.12 kB / 0.5431 GB, free: 95.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.009e-05/0.7556, allocations: 6.875 kB / 0.5431 GB, free: 95.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-05/0.7557, allocations: 11.92 kB / 0.5431 GB, free: 95.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.7681, allocations: 7.991 MB / 0.5509 GB, free: 92.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.7681, allocations: 0 / 0.5509 GB, free: 92.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.7696, allocations: 384.1 kB / 0.5513 GB, free: 92.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002739/0.7724, allocations: 0.938 MB / 0.5522 GB, free: 91.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.7726, allocations: 57.66 kB / 0.5522 GB, free: 91.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008778/0.7814, allocations: 10.69 MB / 0.5627 GB, free: 82.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.7814, allocations: 7.938 kB / 0.5627 GB, free: 82.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007473/0.7888, allocations: 5.507 MB / 0.5681 GB, free: 77.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/0.7905, allocations: 0.5783 MB / 0.5686 GB, free: 76.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008015/0.7913, allocations: 51.98 kB / 0.5687 GB, free: 76.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/0.7931, allocations: 115.9 kB / 0.5688 GB, free: 76.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/0.7936, allocations: 193.6 kB / 0.569 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.7938, allocations: 59.98 kB / 0.569 GB, free: 76.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002903/0.7967, allocations: 1.737 MB / 0.5707 GB, free: 74.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7967, allocations: 4 kB / 0.5707 GB, free: 74.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003428/0.8001, allocations: 0.7989 MB / 0.5715 GB, free: 73.96 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.008482/0.8086, allocations: 6.203 MB / 0.5776 GB, free: 67.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005729/0.8143, allocations: 3.617 MB / 0.5811 GB, free: 64.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.8143, allocations: 0 / 0.5811 GB, free: 64.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003585/0.8179, allocations: 2.319 MB / 0.5834 GB, free: 61.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/0.8225, allocations: 0.7837 MB / 0.5841 GB, free: 60.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04853/0.871, allocations: 29.66 MB / 0.6131 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.874, allocations: 2.774 MB / 0.6158 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002271/0.8763, allocations: 0.6907 MB / 0.6165 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/0.8782, allocations: 1.417 MB / 0.6179 GB, free: 25.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.8782, allocations: 0 / 0.6179 GB, free: 25.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1725/1.051, allocations: 76.13 MB / 0.6922 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.51, allocations: 6.594 kB / 0.6922 GB, free: 14.15 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_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_Transformers_IMC_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.172699748072773] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimc.i_0_s', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 16.64454670716077 16.663218048 16.298896819 Calling exit ...