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.TransformerTestbench.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.001697/0.001697, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002203/0.002203, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.432/1.432, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",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.001893/0.001893, allocations: 67.83 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1098, allocations: 53.32 MB / 426.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2109/0.3207, allocations: 7.812 MB / 434.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.3265, allocations: 2.724 MB / 437.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.3286, allocations: 72.28 kB / 437.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.3305, allocations: 0.5825 MB / 438.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.3331, allocations: 0.7589 MB / 438.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.3343, allocations: 418.7 kB / 439.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.3383, allocations: 3.284 MB / 442.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.3417, allocations: 2.664 MB / 445.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.3453, allocations: 1.676 MB / 446.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003761/0.3491, allocations: 2.069 MB / 448.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.3503, allocations: 465.9 kB / 449.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.3523, allocations: 0.6751 MB / 450.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.3535, allocations: 1.254 MB / 451.3 MB, free: 152 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003519/0.357, allocations: 1.964 MB / 453.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008971/0.366, allocations: 6.124 MB / 459.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.366, allocations: 3.938 kB / 459.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.366, allocations: 0 / 459.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001957/0.3662, allocations: 1.125 kB / 459.4 MB, free: 11.29 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01138/0.3776, allocations: 3.894 MB / 463.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3776, allocations: 8.844 kB / 463.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008463/0.3784, allocations: 433.3 kB / 463.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.3802, allocations: 448.8 kB / 464.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.3854, allocations: 2.187 MB / 466.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.3856, allocations: 224.3 kB / 466.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007789/0.3863, allocations: 290 kB / 466.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008668/0.395, allocations: 4.187 MB / 471.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.366e-05/0.3951, allocations: 2.25 kB / 471.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002982/0.3954, allocations: 122.1 kB / 471.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.3955, allocations: 149.4 kB / 471.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006644/0.4022, allocations: 3.486 MB / 474.8 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02318/0.4254, allocations: 10.8 MB / 485.6 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/0.4287, allocations: 2.561 MB / 488.2 MB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.4312, allocations: 1.407 MB / 489.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.4315, allocations: 122.1 kB / 489.7 MB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.4315, allocations: 47.56 kB / 489.7 MB, free: 1.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.519e-06/0.4316, allocations: 0 / 489.7 MB, free: 1.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01101/0.4426, allocations: 5.215 MB / 495 MB, free: 12.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.4427, allocations: 90.42 kB / 495 MB, free: 12.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004202/0.4469, allocations: 1.914 MB / 497 MB, free: 10.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.4471, allocations: 49.7 kB / 497 MB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.4484, allocations: 1.365 MB / 498.4 MB, free: 8.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006303/0.449, allocations: 479.9 kB / 498.8 MB, free: 8.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006912/0.4497, allocations: 263.5 kB / 499.1 MB, free: 8.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4498, allocations: 321 kB / 499.4 MB, free: 7.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.4513, allocations: 0.812 MB / 0.4885 GB, free: 6.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.453, allocations: 1.182 MB / 0.4897 GB, free: 5.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.4561, allocations: 2.075 MB / 0.4917 GB, free: 3.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.4562, allocations: 8 kB / 0.4917 GB, free: 3.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004827/0.461, allocations: 2.535 MB / 0.4942 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.461, allocations: 8 kB / 0.4942 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.461, allocations: 12 kB / 0.4942 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.463, allocations: 475.1 kB / 0.4946 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.4643, allocations: 335.5 kB / 0.495 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006147/0.4705, allocations: 4.391 MB / 0.4992 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.4722, allocations: 84 kB / 0.4993 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.4725, allocations: 63.98 kB / 0.4994 GB, free: 11.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002285/0.4748, allocations: 1.055 MB / 0.5004 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000818/0.4756, allocations: 202.7 kB / 0.5006 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/0.48, allocations: 2.129 MB / 0.5027 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/0.48, allocations: 19.98 kB / 0.5027 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.4801, allocations: 8 kB / 0.5027 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4801, allocations: 3.984 kB / 0.5027 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.4921, allocations: 5.171 MB / 0.5078 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.4921, allocations: 4 kB / 0.5078 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.4931, allocations: 223.6 kB / 0.508 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.495, allocations: 456.5 kB / 0.5084 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.4952, allocations: 35.98 kB / 0.5085 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006008/0.5012, allocations: 4.306 MB / 0.5127 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5012, allocations: 4.031 kB / 0.5127 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/0.507, allocations: 3.26 MB / 0.5158 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/0.5086, allocations: 471.7 kB / 0.5163 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005882/0.5092, allocations: 31.98 kB / 0.5163 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.5105, allocations: 91.97 kB / 0.5164 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.5108, allocations: 96.8 kB / 0.5165 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.5109, allocations: 39.98 kB / 0.5165 GB, free: 9.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002877/0.5138, allocations: 1.342 MB / 0.5179 GB, free: 8.121 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5138, allocations: 3.938 kB / 0.5179 GB, free: 8.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002587/0.5164, allocations: 0.5585 MB / 0.5184 GB, free: 7.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00658/0.523, allocations: 3.92 MB / 0.5222 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003977/0.5269, allocations: 2.117 MB / 0.5243 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.527, allocations: 4.688 kB / 0.5243 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.5291, allocations: 1.155 MB / 0.5254 GB, free: 296 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/0.5323, allocations: 0.5231 MB / 0.5259 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04039/0.5727, allocations: 20.57 MB / 0.546 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003572/0.5762, allocations: 2.431 MB / 0.5484 GB, free: 8.191 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001978/0.5782, allocations: 499.3 kB / 0.5489 GB, free: 7.699 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/0.5803, allocations: 1.062 MB / 0.5499 GB, free: 6.637 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5803, allocations: 4 kB / 0.5499 GB, free: 6.633 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/0.6968, allocations: 52.35 MB / 0.601 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.06, allocations: 14.48 kB / 0.6011 GB, free: 2.746 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.48645756393671] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 14.169801597017795 14.183528434 13.814484242 Calling exit ...