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.001883/0.001883, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002545/0.002545, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001921/0.001921, allocations: 64.77 kB / 378.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2952, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009791/0.305, allocations: 7.843 MB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005784/0.3108, allocations: 2.745 MB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.312, allocations: 87.38 kB / 442.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.3134, allocations: 0.587 MB / 443.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.3155, allocations: 0.7653 MB / 444 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009292/0.3165, allocations: 431.3 kB / 444.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.3207, allocations: 3.296 MB / 447.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003241/0.3239, allocations: 2.003 MB / 449.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.328, allocations: 1.71 MB / 451.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/0.3319, allocations: 2.083 MB / 453.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007168/0.3326, allocations: 464 kB / 453.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.3341, allocations: 0.7182 MB / 454.6 MB, free: 76 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.3353, allocations: 1.262 MB / 455.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.3378, allocations: 1.968 MB / 457.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007597/0.3454, allocations: 6.124 MB / 464 MB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3454, allocations: 0 / 464 MB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3454, allocations: 0 / 464 MB, free: 6.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001609/0.3455, allocations: 0 / 464 MB, free: 6.688 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.009044/0.3546, allocations: 3.821 MB / 467.8 MB, free: 2.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.3546, allocations: 12.03 kB / 467.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006729/0.3553, allocations: 429.9 kB / 468.3 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.3567, allocations: 450.5 kB / 468.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/0.3609, allocations: 2.115 MB / 470.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.361, allocations: 221.8 kB / 471 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004612/0.3615, allocations: 288 kB / 471.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008247/0.3698, allocations: 4.191 MB / 475.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.253e-05/0.3698, allocations: 3.938 kB / 475.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002982/0.3701, allocations: 124 kB / 475.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.3703, allocations: 137.9 kB / 475.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00678/0.3771, allocations: 3.497 MB / 479.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02072/0.3978, allocations: 10.67 MB / 489.9 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.4006, allocations: 1.655 MB / 491.6 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002453/0.403, allocations: 1.403 MB / 493 MB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.4032, allocations: 41.08 kB / 493 MB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.4033, allocations: 55.5 kB / 493.1 MB, free: 9.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 4.218e-06/0.4033, allocations: 0 / 493.1 MB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009711/0.413, allocations: 5.128 MB / 498.2 MB, free: 4.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.4131, allocations: 94.42 kB / 498.3 MB, free: 3.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.4164, allocations: 1.914 MB / 0.4885 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.4166, allocations: 49.7 kB / 0.4885 GB, free: 1.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.4177, allocations: 1.357 MB / 0.4899 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004753/0.4182, allocations: 483.9 kB / 0.4903 GB, free: 144 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/0.4187, allocations: 271.5 kB / 0.4906 GB, free: 15.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4189, allocations: 305.1 kB / 0.4909 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.4203, allocations: 0.8198 MB / 0.4917 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.422, allocations: 1.186 MB / 0.4928 GB, free: 13.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/0.425, allocations: 2.082 MB / 0.4949 GB, free: 11.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.425, allocations: 4 kB / 0.4949 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00462/0.4296, allocations: 2.524 MB / 0.4973 GB, free: 8.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4296, allocations: 12 kB / 0.4973 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.4297, allocations: 15.97 kB / 0.4974 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/0.4316, allocations: 479.1 kB / 0.4978 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.433, allocations: 335.5 kB / 0.4981 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006152/0.4392, allocations: 4.281 MB / 0.5023 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4408, allocations: 83.92 kB / 0.5024 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.4409, allocations: 59.98 kB / 0.5024 GB, free: 3.297 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.001783/0.4427, allocations: 1.049 MB / 0.5035 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000467/0.4432, allocations: 206.7 kB / 0.5037 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003917/0.4471, allocations: 2.137 MB / 0.5058 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/0.4471, allocations: 16 kB / 0.5058 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4471, allocations: 4 kB / 0.5058 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.4472, allocations: 7.969 kB / 0.5058 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009258/0.4564, allocations: 5.146 MB / 0.5108 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4564, allocations: 4.219 kB / 0.5108 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009977/0.4574, allocations: 231.6 kB / 0.511 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.4593, allocations: 468.7 kB / 0.5115 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.933e-05/0.4594, allocations: 35.97 kB / 0.5115 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005717/0.4651, allocations: 4.208 MB / 0.5156 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4651, allocations: 4.031 kB / 0.5156 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.4705, allocations: 3.256 MB / 0.5188 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.4716, allocations: 390.7 kB / 0.5192 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.4718, allocations: 24 kB / 0.5192 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009612/0.4728, allocations: 99.95 kB / 0.5193 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.473, allocations: 100.7 kB / 0.5194 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/0.4731, allocations: 43.98 kB / 0.5194 GB, free: 1.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00208/0.4752, allocations: 1.338 MB / 0.5207 GB, free: 304 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4752, allocations: 0 / 0.5207 GB, free: 304 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.00206/0.4773, allocations: 0.5585 MB / 0.5213 GB, free: 15.73 MB / 446.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.006233/0.4835, allocations: 3.926 MB / 0.5251 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00386/0.4874, allocations: 2.128 MB / 0.5272 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4874, allocations: 2 kB / 0.5272 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.4893, allocations: 1.16 MB / 0.5283 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.4916, allocations: 0.5009 MB / 0.5288 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2445/0.7362, allocations: 20.62 MB / 0.549 GB, free: 96.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.7378, allocations: 2.428 MB / 0.5513 GB, free: 95.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00116/0.739, allocations: 498.6 kB / 0.5518 GB, free: 95.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.74, allocations: 1.066 MB / 0.5529 GB, free: 94.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.74, allocations: 0 / 0.5529 GB, free: 94.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08685/0.8268, allocations: 53.5 MB / 0.6051 GB, free: 41.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.43, allocations: 7.938 kB / 0.6051 GB, free: 41.66 MB / 446.1 MB " [Timeout remaining time 645] (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.879992355126888] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 14.544335356447846 14.558423635 14.209979148 Calling exit ...