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.00125/0.00125, allocations: 109.8 kB / 19.74 MB, free: 2.582 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.001377/0.001377, allocations: 216.9 kB / 22.92 MB, free: 5.562 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.272/1.272, allocations: 230.5 MB / 256.4 MB, free: 8.289 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.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.00181/0.00181, allocations: 71.83 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2107, allocations: 53.31 MB / 429.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0138/0.2245, allocations: 13.03 MB / 442.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006916/0.2314, allocations: 4.276 MB / 446.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.2325, allocations: 79.69 kB / 446.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.2344, allocations: 1.03 MB / 447.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.2369, allocations: 1.239 MB / 449.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.238, allocations: 0.5382 MB / 449.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004682/0.2426, allocations: 4.641 MB / 454.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.2452, allocations: 2.073 MB / 456.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.2487, allocations: 2.145 MB / 458.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003938/0.2527, allocations: 2.619 MB / 461.1 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009305/0.2536, allocations: 0.5586 MB / 461.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.255, allocations: 0.6561 MB / 462.3 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.2564, allocations: 1.535 MB / 463.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.2596, allocations: 2.485 MB / 466.3 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007813/0.2674, allocations: 7.459 MB / 473.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2674, allocations: 0 / 473.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2674, allocations: 0 / 473.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000157/0.2676, allocations: 4 kB / 473.8 MB, free: 10.89 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.009139/0.2767, allocations: 4.831 MB / 478.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2767, allocations: 8.031 kB / 478.7 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006184/0.2774, allocations: 0.502 MB / 479.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.2788, allocations: 0.5487 MB / 479.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/0.283, allocations: 2.6 MB / 482.3 MB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.2832, allocations: 267 kB / 482.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005167/0.2837, allocations: 355.9 kB / 482.9 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007682/0.2914, allocations: 5.036 MB / 487.9 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.709e-05/0.2914, allocations: 11.95 kB / 488 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003168/0.2918, allocations: 140 kB / 488.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/0.2919, allocations: 179.1 kB / 488.3 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006707/0.2986, allocations: 4.294 MB / 492.6 MB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02023/0.3189, allocations: 14.77 MB / 0.4954 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004308/0.3232, allocations: 4.049 MB / 0.4994 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/0.3262, allocations: 1.881 MB / 0.5012 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.3264, allocations: 139 kB / 0.5014 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.3265, allocations: 56.94 kB / 0.5014 GB, free: 2.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.466e-06/0.3265, allocations: 0 / 0.5014 GB, free: 2.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01933/0.3458, allocations: 9.993 MB / 0.5112 GB, free: 8.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3458, allocations: 77.41 kB / 0.5113 GB, free: 8.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003623/0.3495, allocations: 2.514 MB / 0.5137 GB, free: 5.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.3497, allocations: 69.64 kB / 0.5138 GB, free: 5.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.351, allocations: 1.658 MB / 0.5154 GB, free: 3.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006521/0.3516, allocations: 0.7708 MB / 0.5161 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006483/0.3523, allocations: 416.5 kB / 0.5165 GB, free: 2.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3524, allocations: 301.1 kB / 0.5168 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.3544, allocations: 1.305 MB / 0.5181 GB, free: 1.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/0.3567, allocations: 1.775 MB / 0.5198 GB, free: 15.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/0.361, allocations: 3.219 MB / 0.523 GB, free: 11.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.361, allocations: 11.94 kB / 0.523 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006584/0.3676, allocations: 4.069 MB / 0.527 GB, free: 7.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3676, allocations: 8 kB / 0.527 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.3677, allocations: 16 kB / 0.527 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/0.3703, allocations: 0.876 MB / 0.5278 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.3722, allocations: 0.5227 MB / 0.5284 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1736/0.5458, allocations: 9.465 MB / 0.5376 GB, free: 96.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/0.5477, allocations: 117.2 kB / 0.5377 GB, free: 96.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.5478, allocations: 90.77 kB / 0.5378 GB, free: 96.86 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.001662/0.5495, allocations: 1.221 MB / 0.539 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/0.5499, allocations: 293.1 kB / 0.5393 GB, free: 96.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/0.5549, allocations: 3.703 MB / 0.5429 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5549, allocations: 19.66 kB / 0.5429 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5549, allocations: 9.125 kB / 0.5429 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.5549, allocations: 13.12 kB / 0.5429 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009161/0.5641, allocations: 8.001 MB / 0.5507 GB, free: 91.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5641, allocations: 7.203 kB / 0.5507 GB, free: 91.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.5655, allocations: 381.2 kB / 0.5511 GB, free: 91.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/0.568, allocations: 0.9433 MB / 0.552 GB, free: 91.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.5681, allocations: 58.66 kB / 0.5521 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007592/0.5757, allocations: 11.08 MB / 0.5629 GB, free: 80.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5757, allocations: 4 kB / 0.5629 GB, free: 80.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0061/0.5818, allocations: 5.512 MB / 0.5683 GB, free: 75.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009964/0.5828, allocations: 0.6468 MB / 0.5689 GB, free: 74.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/0.5831, allocations: 51.98 kB / 0.569 GB, free: 74.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.5843, allocations: 115.9 kB / 0.5691 GB, free: 74.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.5846, allocations: 189 kB / 0.5693 GB, free: 74.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.5847, allocations: 55.98 kB / 0.5693 GB, free: 74.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001772/0.5865, allocations: 1.743 MB / 0.571 GB, free: 72.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5865, allocations: 0 / 0.571 GB, free: 72.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001837/0.5883, allocations: 0.7929 MB / 0.5718 GB, free: 72 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.006334/0.5947, allocations: 6.208 MB / 0.5779 GB, free: 65.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004321/0.599, allocations: 3.775 MB / 0.5815 GB, free: 61.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.599, allocations: 0 / 0.5815 GB, free: 61.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.6017, allocations: 2.386 MB / 0.5839 GB, free: 59.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.6045, allocations: 0.7976 MB / 0.5847 GB, free: 58.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/0.6375, allocations: 29.65 MB / 0.6136 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.6391, allocations: 2.778 MB / 0.6163 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001645/0.6408, allocations: 0.679 MB / 0.617 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.6421, allocations: 1.417 MB / 0.6184 GB, free: 23.38 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6421, allocations: 0 / 0.6184 GB, free: 23.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/0.7646, allocations: 74.55 MB / 0.6912 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.27, allocations: 4 kB / 0.6912 GB, free: 13.47 MB / 0.4981 GB " [Timeout remaining time 646] (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 --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: 16.593533867999213]