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.001834/0.001834, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002228/0.002228, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.476/1.476, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.00207/0.00207, allocations: 72.06 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1082, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2175/0.3256, allocations: 7.814 MB / 434.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.3308, allocations: 2.723 MB / 437.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.3324, allocations: 87.47 kB / 437.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.3341, allocations: 0.5896 MB / 438.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.3374, allocations: 0.7578 MB / 439 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3386, allocations: 415 kB / 439.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004011/0.3426, allocations: 3.297 MB / 442.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003608/0.3462, allocations: 2.654 MB / 445.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/0.3501, allocations: 1.703 MB / 447 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004193/0.3542, allocations: 2.077 MB / 449.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.3558, allocations: 465.4 kB / 449.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.3588, allocations: 0.6716 MB / 450.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.3609, allocations: 1.248 MB / 451.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005632/0.3666, allocations: 1.975 MB / 453.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.3783, allocations: 6.117 MB / 459.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3783, allocations: 0 / 459.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3783, allocations: 0 / 459.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002894/0.3786, allocations: 5.344 kB / 459.6 MB, free: 11.12 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.0132/0.3918, allocations: 3.902 MB / 463.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3919, allocations: 8.719 kB / 463.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.3929, allocations: 425.6 kB / 463.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.3948, allocations: 458.6 kB / 464.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.3995, allocations: 2.183 MB / 466.6 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.3997, allocations: 220.7 kB / 466.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006971/0.4004, allocations: 283.5 kB / 467 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009742/0.4101, allocations: 4.191 MB / 471.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/0.4102, allocations: 0 / 471.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003712/0.4106, allocations: 122.1 kB / 471.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.4108, allocations: 141.5 kB / 471.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007359/0.4181, allocations: 3.491 MB / 475 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0227/0.4408, allocations: 10.79 MB / 485.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.444, allocations: 2.56 MB / 488.3 MB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.4467, allocations: 1.412 MB / 489.8 MB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.4471, allocations: 122.1 kB / 489.9 MB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.4471, allocations: 55.56 kB / 489.9 MB, free: 1.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.078e-06/0.4471, allocations: 0 / 489.9 MB, free: 1.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01091/0.458, allocations: 5.2 MB / 495.1 MB, free: 12.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.4581, allocations: 94.42 kB / 495.2 MB, free: 11.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.4615, allocations: 1.914 MB / 497.1 MB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.4618, allocations: 49.7 kB / 497.2 MB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.4629, allocations: 1.361 MB / 498.5 MB, free: 8.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005377/0.4634, allocations: 479.9 kB / 499 MB, free: 8.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.4639, allocations: 279.5 kB / 499.3 MB, free: 7.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4641, allocations: 305.1 kB / 499.6 MB, free: 7.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4656, allocations: 0.8158 MB / 0.4887 GB, free: 6.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.4674, allocations: 1.182 MB / 0.4898 GB, free: 5.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/0.4704, allocations: 2.078 MB / 0.4919 GB, free: 3.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.4704, allocations: 4 kB / 0.4919 GB, free: 3.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004731/0.4752, allocations: 2.525 MB / 0.4943 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.4752, allocations: 12 kB / 0.4943 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.4752, allocations: 8.188 kB / 0.4943 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.4771, allocations: 474.9 kB / 0.4948 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.4785, allocations: 339.5 kB / 0.4951 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/0.4847, allocations: 4.395 MB / 0.4994 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4865, allocations: 83.98 kB / 0.4995 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.4867, allocations: 56 kB / 0.4995 GB, free: 11.16 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.002358/0.4891, allocations: 1.059 MB / 0.5006 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007549/0.4898, allocations: 206.7 kB / 0.5008 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.494, allocations: 2.133 MB / 0.5029 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/0.494, allocations: 27.92 kB / 0.5029 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.494, allocations: 7.938 kB / 0.5029 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.494, allocations: 3.984 kB / 0.5029 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.5043, allocations: 5.17 MB / 0.5079 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.5043, allocations: 0 / 0.5079 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.5053, allocations: 231.6 kB / 0.5082 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.5072, allocations: 456.5 kB / 0.5086 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.5073, allocations: 35.98 kB / 0.5086 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.513, allocations: 4.302 MB / 0.5128 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.513, allocations: 4 kB / 0.5128 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/0.5187, allocations: 3.253 MB / 0.516 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.52, allocations: 463.7 kB / 0.5165 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.5203, allocations: 35.98 kB / 0.5165 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5214, allocations: 95.95 kB / 0.5166 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.5217, allocations: 104.7 kB / 0.5167 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5218, allocations: 39.98 kB / 0.5167 GB, free: 9.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.5242, allocations: 1.342 MB / 0.518 GB, free: 7.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5242, allocations: 4 kB / 0.518 GB, free: 7.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002318/0.5265, allocations: 0.5507 MB / 0.5186 GB, free: 7.355 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.006609/0.5331, allocations: 3.921 MB / 0.5224 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004359/0.5374, allocations: 2.13 MB / 0.5245 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.5375, allocations: 7.875 kB / 0.5245 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.5396, allocations: 1.152 MB / 0.5256 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.5426, allocations: 0.5141 MB / 0.5261 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03822/0.5809, allocations: 20.57 MB / 0.5462 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/0.5835, allocations: 2.431 MB / 0.5486 GB, free: 7.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.5851, allocations: 499.3 kB / 0.5491 GB, free: 7.496 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/0.5869, allocations: 1.069 MB / 0.5501 GB, free: 6.426 MB / 462.1 MB Notification: Performance of SimCode: time 2.124e-06/0.5869, allocations: 4 kB / 0.5501 GB, free: 6.422 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/0.7007, allocations: 52.34 MB / 0.6012 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.32, allocations: 7.688 kB / 0.6012 GB, free: 2.547 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.881315330974758] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 14.436562383081764 14.458179424 14.075356378 Calling exit ...