Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 108.6 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 197 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 366.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1122, allocations: 52.15 MB / 418.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01552/0.1277, allocations: 12.93 MB / 431.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00904/0.1367, allocations: 4.195 MB / 435.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.1392, allocations: 103.3 kB / 435.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.1421, allocations: 1.017 MB / 436.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004152/0.1463, allocations: 1.231 MB / 438 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.148, allocations: 0.5033 MB / 438.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006937/0.155, allocations: 4.649 MB / 443.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005224/0.1602, allocations: 2.71 MB / 445.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2146/0.3748, allocations: 2.159 MB / 448 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.3788, allocations: 2.622 MB / 450.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.38, allocations: 0.5532 MB / 451.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.3817, allocations: 0.6422 MB / 451.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.3831, allocations: 1.535 MB / 453.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004259/0.3874, allocations: 2.479 MB / 455.9 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.3981, allocations: 7.443 MB / 463.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3981, allocations: 1.469 kB / 463.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3981, allocations: 1.781 kB / 463.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.3983, allocations: 0 / 463.3 MB, free: 8.121 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01374/0.4121, allocations: 4.81 MB / 468.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4121, allocations: 10.12 kB / 468.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001473/0.4123, allocations: 94.22 kB / 468.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008738/0.4131, allocations: 0.5004 MB / 468.7 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.4148, allocations: 0.5225 MB / 469.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/0.4195, allocations: 2.576 MB / 471.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.4197, allocations: 269.7 kB / 472.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006533/0.4203, allocations: 362 kB / 472.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008766/0.4291, allocations: 5.024 MB / 477.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/0.4293, allocations: 6.219 kB / 477.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.4296, allocations: 147.1 kB / 477.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.4298, allocations: 178 kB / 477.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007326/0.4371, allocations: 4.303 MB / 482.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02725/0.4644, allocations: 14.75 MB / 496.8 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005234/0.4696, allocations: 4.06 MB / 0.4892 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.4731, allocations: 1.88 MB / 0.491 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.4734, allocations: 129 kB / 0.4911 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.4735, allocations: 56.56 kB / 0.4912 GB, free: 13.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 3.807e-06/0.4735, allocations: 0 / 0.4912 GB, free: 13.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02282/0.4963, allocations: 10 MB / 0.5009 GB, free: 3.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.4964, allocations: 73.41 kB / 0.501 GB, free: 3.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/0.5012, allocations: 2.502 MB / 0.5034 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004077/0.5016, allocations: 61.7 kB / 0.5035 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.5032, allocations: 1.67 MB / 0.5051 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.5042, allocations: 0.7686 MB / 0.5059 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007763/0.505, allocations: 420.5 kB / 0.5063 GB, free: 13.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5051, allocations: 301.1 kB / 0.5066 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/0.5075, allocations: 1.3 MB / 0.5078 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/0.5102, allocations: 1.778 MB / 0.5096 GB, free: 10.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005002/0.5152, allocations: 3.214 MB / 0.5127 GB, free: 6.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.5152, allocations: 4 kB / 0.5127 GB, free: 6.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008194/0.5234, allocations: 4.069 MB / 0.5167 GB, free: 2.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.5234, allocations: 12.09 kB / 0.5167 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.5235, allocations: 17.03 kB / 0.5167 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/0.5265, allocations: 0.879 MB / 0.5176 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.5289, allocations: 0.5344 MB / 0.5181 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.5412, allocations: 9.484 MB / 0.5274 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.544, allocations: 119.9 kB / 0.5275 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/0.5443, allocations: 88 kB / 0.5276 GB, free: 7.309 MB / 430.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.002805/0.5471, allocations: 1.215 MB / 0.5287 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/0.5479, allocations: 290.2 kB / 0.529 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007495/0.5554, allocations: 3.7 MB / 0.5326 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.5554, allocations: 24 kB / 0.5327 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.5554, allocations: 8 kB / 0.5327 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.5554, allocations: 18.58 kB / 0.5327 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.5723, allocations: 7.983 MB / 0.5405 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.5723, allocations: 7.938 kB / 0.5405 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/0.5742, allocations: 383.6 kB / 0.5409 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/0.5775, allocations: 0.934 MB / 0.5418 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.5777, allocations: 55.97 kB / 0.5418 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.5915, allocations: 11.1 MB / 0.5527 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5915, allocations: 8 kB / 0.5527 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.6015, allocations: 5.503 MB / 0.558 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/0.6035, allocations: 0.6474 MB / 0.5587 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007153/0.6042, allocations: 51.98 kB / 0.5587 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.6058, allocations: 115.9 kB / 0.5588 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/0.6063, allocations: 180.3 kB / 0.559 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.6065, allocations: 63.98 kB / 0.5591 GB, free: 6.477 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003137/0.6096, allocations: 1.727 MB / 0.5608 GB, free: 4.738 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6096, allocations: 0 / 0.5608 GB, free: 4.738 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003244/0.6129, allocations: 0.7969 MB / 0.5615 GB, free: 3.941 MB / 462.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.01002/0.6229, allocations: 6.204 MB / 0.5676 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006911/0.6298, allocations: 3.766 MB / 0.5713 GB, free: 9.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6298, allocations: 0 / 0.5713 GB, free: 9.926 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004374/0.6342, allocations: 2.391 MB / 0.5736 GB, free: 7.504 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/0.6386, allocations: 0.7901 MB / 0.5744 GB, free: 6.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05646/0.695, allocations: 29.55 MB / 0.6032 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003139/0.6982, allocations: 2.769 MB / 0.6059 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002278/0.7005, allocations: 0.6905 MB / 0.6066 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/0.7027, allocations: 1.409 MB / 0.608 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.7027, allocations: 0 / 0.608 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3616/1.064, allocations: 74.15 MB / 0.6804 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/16.96, allocations: 11.92 kB / 0.6804 GB, free: 144.6 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.631828896002844] 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'] 17.14004730602028 17.149976845 16.749364552 Calling exit ...