Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 254.8 MB, free: 15.22 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_4_1_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_1_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.001488/0.001488, allocations: 51.92 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 53.33 MB / 427.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01503/0.1204, allocations: 12.98 MB / 440 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008587/0.129, allocations: 4.284 MB / 444.3 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.1316, allocations: 103.3 kB / 444.4 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.1344, allocations: 1.017 MB / 445.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003912/0.1383, allocations: 1.235 MB / 446.7 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1396, allocations: 0.5266 MB / 447.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2159/0.3555, allocations: 4.639 MB / 451.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00378/0.3593, allocations: 2.695 MB / 454.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004537/0.3638, allocations: 2.18 MB / 456.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004708/0.3685, allocations: 2.628 MB / 459.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.3703, allocations: 0.5518 MB / 459.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.3728, allocations: 0.6581 MB / 460.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.3745, allocations: 1.536 MB / 462.1 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004664/0.3792, allocations: 2.486 MB / 464.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009094/0.3882, allocations: 7.465 MB / 472 MB, free: 3.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3883, allocations: 0 / 472 MB, free: 3.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3883, allocations: 0 / 472 MB, free: 3.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002413/0.3885, allocations: 0 / 472 MB, free: 3.383 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.0115/0.4, allocations: 4.83 MB / 476.9 MB, free: 136 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4, allocations: 9.656 kB / 476.9 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001623/0.4002, allocations: 93.47 kB / 477 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008905/0.4011, allocations: 0.4983 MB / 477.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.4031, allocations: 0.5487 MB / 478 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004783/0.4079, allocations: 2.601 MB / 480.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.4081, allocations: 269.9 kB / 480.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/0.4086, allocations: 353.6 kB / 481.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008835/0.4175, allocations: 5.031 MB / 486.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.596e-05/0.4175, allocations: 10.45 kB / 486.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.4179, allocations: 149 kB / 486.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.4181, allocations: 182.6 kB / 486.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00736/0.4254, allocations: 4.296 MB / 490.9 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.4514, allocations: 14.76 MB / 0.4938 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/0.4562, allocations: 4.058 MB / 0.4978 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.4594, allocations: 1.884 MB / 0.4996 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.4597, allocations: 134.5 kB / 0.4997 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.4597, allocations: 60.03 kB / 0.4998 GB, free: 2.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 3.797e-06/0.4598, allocations: 0 / 0.4998 GB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02216/0.4819, allocations: 9.996 MB / 0.5095 GB, free: 8.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.482, allocations: 73.41 kB / 0.5096 GB, free: 8.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/0.4863, allocations: 2.516 MB / 0.5121 GB, free: 5.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000307/0.4867, allocations: 61.7 kB / 0.5121 GB, free: 5.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.488, allocations: 1.667 MB / 0.5138 GB, free: 4.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000776/0.4888, allocations: 0.758 MB / 0.5145 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007339/0.4895, allocations: 420.4 kB / 0.5149 GB, free: 3.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4896, allocations: 305.1 kB / 0.5152 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.4917, allocations: 1.297 MB / 0.5165 GB, free: 1.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.4942, allocations: 1.784 MB / 0.5182 GB, free: 15.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/0.4988, allocations: 3.208 MB / 0.5213 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.4988, allocations: 4 kB / 0.5213 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007364/0.5062, allocations: 4.072 MB / 0.5253 GB, free: 7.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.5062, allocations: 12 kB / 0.5253 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.5062, allocations: 12.47 kB / 0.5253 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/0.5091, allocations: 0.8835 MB / 0.5262 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.5114, allocations: 0.5227 MB / 0.5267 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.5227, allocations: 9.49 MB / 0.536 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.5253, allocations: 118.6 kB / 0.5361 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/0.5256, allocations: 91.92 kB / 0.5362 GB, free: 12.46 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.00254/0.5281, allocations: 1.216 MB / 0.5374 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007405/0.5289, allocations: 294.1 kB / 0.5376 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006582/0.5354, allocations: 3.691 MB / 0.5412 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.5355, allocations: 20 kB / 0.5413 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.5355, allocations: 8 kB / 0.5413 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/0.5355, allocations: 11.95 kB / 0.5413 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.5498, allocations: 7.998 MB / 0.5491 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.5498, allocations: 4 kB / 0.5491 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.5514, allocations: 391.8 kB / 0.5495 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00311/0.5545, allocations: 0.9245 MB / 0.5504 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.5547, allocations: 59.97 kB / 0.5504 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.5671, allocations: 11.1 MB / 0.5613 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5671, allocations: 4 kB / 0.5613 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009161/0.5763, allocations: 5.508 MB / 0.5667 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/0.578, allocations: 0.6436 MB / 0.5673 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/0.5784, allocations: 51.98 kB / 0.5673 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.5798, allocations: 115.9 kB / 0.5674 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004634/0.5803, allocations: 181.7 kB / 0.5676 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.5804, allocations: 68.08 kB / 0.5677 GB, free: 11.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002821/0.5832, allocations: 1.735 MB / 0.5694 GB, free: 9.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5832, allocations: 0 / 0.5694 GB, free: 9.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002874/0.5861, allocations: 0.8008 MB / 0.5702 GB, free: 8.879 MB / 478.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.009453/0.5955, allocations: 6.214 MB / 0.5762 GB, free: 2.605 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006508/0.6021, allocations: 3.763 MB / 0.5799 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.6021, allocations: 4 kB / 0.5799 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00411/0.6062, allocations: 2.389 MB / 0.5822 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/0.6102, allocations: 0.7907 MB / 0.583 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05027/0.6605, allocations: 29.6 MB / 0.6119 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.6633, allocations: 2.785 MB / 0.6146 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002153/0.6655, allocations: 0.6829 MB / 0.6153 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/0.6676, allocations: 1.413 MB / 0.6167 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.6676, allocations: 0 / 0.6167 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3321/0.9997, allocations: 74.35 MB / 0.6893 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.48, allocations: 19.64 kB / 0.6893 GB, free: 160.2 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0_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_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.053840341977775] 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.655487279000226 16.665011887 16.274520290999998 Calling exit ...