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.AsymmetricalLoad.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.002077/0.002077, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.003063/0.003063, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",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.001961/0.001961, allocations: 68.78 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2685, allocations: 53.38 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008287/0.2768, allocations: 5.956 MB / 437.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004438/0.2813, allocations: 2.142 MB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.282, allocations: 55.62 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.2831, allocations: 409 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.2849, allocations: 0.5827 MB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.2854, allocations: 231.6 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.2881, allocations: 2.225 MB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.2898, allocations: 1.163 MB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.2922, allocations: 1.091 MB / 445.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.294, allocations: 1.238 MB / 447 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.2943, allocations: 288 kB / 447.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.295, allocations: 383.8 kB / 447.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.2957, allocations: 0.7051 MB / 448.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.2971, allocations: 1.233 MB / 449.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.3016, allocations: 3.797 MB / 453.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3016, allocations: 0 / 453.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3016, allocations: 0 / 453.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000101/0.3017, allocations: 4 kB / 453.4 MB, free: 1.293 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.005267/0.307, allocations: 2.369 MB / 455.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3071, allocations: 8.031 kB / 455.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003996/0.3075, allocations: 278.2 kB / 456.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3085, allocations: 291.5 kB / 456.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.3112, allocations: 1.315 MB / 457.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3113, allocations: 131.5 kB / 457.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.3116, allocations: 172 kB / 458 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005026/0.3166, allocations: 2.547 MB / 460.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.3166, allocations: 4 kB / 460.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.3168, allocations: 75.94 kB / 460.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.3169, allocations: 95.58 kB / 460.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004024/0.321, allocations: 2.114 MB / 462.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.333, allocations: 7.236 MB / 470 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3343, allocations: 0.7113 MB / 470.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.3351, allocations: 442.6 kB / 471.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.3352, allocations: 40.41 kB / 471.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.3353, allocations: 39 kB / 471.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.505e-06/0.3353, allocations: 0 / 471.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004208/0.3395, allocations: 2.137 MB / 473.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.3396, allocations: 81.55 kB / 473.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.3418, allocations: 1.528 MB / 475 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.3419, allocations: 37.81 kB / 475 MB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007814/0.3427, allocations: 1.002 MB / 476 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.3429, allocations: 214.3 kB / 476.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.3432, allocations: 246.7 kB / 476.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3434, allocations: 353.9 kB / 476.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007246/0.3441, allocations: 454.3 kB / 477.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.3454, allocations: 1.094 MB / 478.4 MB, free: 7.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.3475, allocations: 1.619 MB / 480 MB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3476, allocations: 8 kB / 480 MB, free: 5.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003021/0.3506, allocations: 1.684 MB / 481.7 MB, free: 3.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.3506, allocations: 20.09 kB / 481.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.3506, allocations: 20 kB / 481.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008093/0.3514, allocations: 192.5 kB / 481.9 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009356/0.3524, allocations: 279.5 kB / 482.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.3551, allocations: 2.25 MB / 484.4 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3564, allocations: 87.81 kB / 484.5 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.3565, allocations: 71.98 kB / 484.6 MB, free: 0.8984 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001284/0.3578, allocations: 0.704 MB / 485.3 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.3581, allocations: 139.2 kB / 485.4 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.3598, allocations: 0.845 MB / 486.3 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3599, allocations: 4 kB / 486.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3599, allocations: 0 / 486.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3599, allocations: 7.984 kB / 486.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/0.3647, allocations: 2.471 MB / 488.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.3647, allocations: 4 kB / 488.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.3651, allocations: 95.88 kB / 488.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/0.3658, allocations: 153 kB / 489 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.3658, allocations: 15.98 kB / 489 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.3684, allocations: 2.199 MB / 491.2 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3684, allocations: 4 kB / 491.2 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.3707, allocations: 1.325 MB / 492.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006811/0.3713, allocations: 215.1 kB / 492.7 MB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.3716, allocations: 19.94 kB / 492.8 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/0.3723, allocations: 48.03 kB / 492.8 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3725, allocations: 51.84 kB / 492.9 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.3725, allocations: 23.94 kB / 492.9 MB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001849/0.3744, allocations: 1.044 MB / 493.9 MB, free: 7.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3744, allocations: 0 / 493.9 MB, free: 7.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001567/0.3759, allocations: 351.9 kB / 494.3 MB, free: 6.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002943/0.3789, allocations: 1.95 MB / 496.2 MB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.381, allocations: 1.116 MB / 497.3 MB, free: 3.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.381, allocations: 6 kB / 497.3 MB, free: 3.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008587/0.3819, allocations: 0.4911 MB / 497.8 MB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.3837, allocations: 382.5 kB / 498.2 MB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/0.4068, allocations: 13.96 MB / 0.5002 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.4087, allocations: 1.71 MB / 0.5018 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009318/0.4096, allocations: 319.4 kB / 0.5021 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008931/0.4105, allocations: 0.6164 MB / 0.5027 GB, free: 1.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4105, allocations: 0 / 0.5027 GB, free: 1.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3017/0.7122, allocations: 35 MB / 0.5369 GB, free: 97.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.35, allocations: 1.031 kB / 0.5369 GB, free: 97.65 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_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_AsymmetricalLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.872854279354215] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i'] 13.453835494816303 13.466649117 13.161852301 Calling exit ...