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.001269/0.001269, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001388/0.001388, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.462/1.462, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001885/0.001885, allocations: 75.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1068, allocations: 53.32 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.2179/0.3247, allocations: 5.937 MB / 432.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.3282, allocations: 2.137 MB / 435.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005563/0.3287, allocations: 50.44 kB / 435.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.3297, allocations: 404.2 kB / 435.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.3309, allocations: 0.5658 MB / 436.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.3313, allocations: 236 kB / 436.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.3336, allocations: 2.219 MB / 438.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.3354, allocations: 1.589 MB / 440.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.3378, allocations: 1.085 MB / 441.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.3397, allocations: 1.243 MB / 442.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005886/0.3403, allocations: 291.2 kB / 442.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.3411, allocations: 377.3 kB / 443.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006402/0.3418, allocations: 0.7109 MB / 443.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.343, allocations: 1.232 MB / 445.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004704/0.3477, allocations: 3.797 MB / 448.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3477, allocations: 0 / 448.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3477, allocations: 5.094 kB / 448.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001083/0.3478, allocations: 0 / 448.9 MB, free: 1.969 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.005395/0.3532, allocations: 2.439 MB / 451.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3533, allocations: 9.969 kB / 451.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003539/0.3536, allocations: 271.4 kB / 451.6 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.3547, allocations: 291.3 kB / 451.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.3573, allocations: 1.383 MB / 453.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.3576, allocations: 134.3 kB / 453.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.3579, allocations: 175.5 kB / 453.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00475/0.3626, allocations: 2.543 MB / 456.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.3626, allocations: 0 / 456.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/0.3628, allocations: 71.84 kB / 456.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.363, allocations: 102.5 kB / 456.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003916/0.3669, allocations: 2.106 MB / 458.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.3795, allocations: 7.376 MB / 465.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.3812, allocations: 1.231 MB / 467 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008986/0.3821, allocations: 452.4 kB / 467.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.3824, allocations: 116 kB / 467.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.3824, allocations: 42.48 kB / 467.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.266e-06/0.3824, allocations: 0 / 467.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.005626/0.3881, allocations: 2.294 MB / 469.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.3882, allocations: 83.67 kB / 469.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.391, allocations: 1.515 MB / 471.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.3911, allocations: 36.45 kB / 471.5 MB, free: 3.301 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/0.3919, allocations: 0.9972 MB / 472.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.3921, allocations: 206.2 kB / 472.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.3925, allocations: 251.6 kB / 472.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3927, allocations: 355.8 kB / 473.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/0.3934, allocations: 455.8 kB / 473.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.3948, allocations: 1.099 MB / 474.8 MB, free: 128 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.3969, allocations: 1.619 MB / 476.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.3969, allocations: 8 kB / 476.4 MB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002961/0.3999, allocations: 1.687 MB / 478.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3999, allocations: 12 kB / 478.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.3999, allocations: 24.5 kB / 478.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/0.4007, allocations: 180.6 kB / 478.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008569/0.4015, allocations: 287.5 kB / 478.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.4042, allocations: 2.361 MB / 481 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.4053, allocations: 91.81 kB / 481.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.4054, allocations: 64 kB / 481.1 MB, free: 9.344 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.001143/0.4066, allocations: 0.7104 MB / 481.9 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.4068, allocations: 139.1 kB / 482 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.4083, allocations: 0.8335 MB / 482.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.4084, allocations: 8 kB / 482.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4084, allocations: 3.984 kB / 482.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4084, allocations: 0 / 482.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.4125, allocations: 2.503 MB / 485.3 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4125, allocations: 0 / 485.3 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.4128, allocations: 95.89 kB / 485.4 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006329/0.4135, allocations: 153 kB / 485.6 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.4135, allocations: 20 kB / 485.6 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.416, allocations: 2.309 MB / 487.9 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.416, allocations: 8.031 kB / 487.9 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.4181, allocations: 1.319 MB / 489.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006625/0.4188, allocations: 292.3 kB / 489.5 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4189, allocations: 16 kB / 489.5 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.4195, allocations: 48.03 kB / 489.6 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.4196, allocations: 43.88 kB / 489.6 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.4197, allocations: 23.98 kB / 489.6 MB, free: 0.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00158/0.4213, allocations: 1.048 MB / 490.7 MB, free: 15.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4213, allocations: 0 / 490.7 MB, free: 15.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001459/0.4227, allocations: 348 kB / 491 MB, free: 15.11 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.002748/0.4255, allocations: 1.955 MB / 493 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.4275, allocations: 1.128 MB / 494.1 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4275, allocations: 0 / 494.1 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008307/0.4283, allocations: 0.4923 MB / 494.6 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.43, allocations: 385.5 kB / 495 MB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/0.4521, allocations: 13.94 MB / 0.497 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.4538, allocations: 1.702 MB / 0.4987 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009989/0.4548, allocations: 333.1 kB / 0.499 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008591/0.4557, allocations: 0.6125 MB / 0.4996 GB, free: 9.617 MB / 414.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4557, allocations: 0 / 0.4996 GB, free: 9.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.5771, allocations: 34.08 MB / 0.5329 GB, free: 7.922 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.9, allocations: 6.672 kB / 0.5329 GB, free: 7.918 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.41636021900922] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i'] 13.001848685089499 13.015450642 12.664841927 Calling exit ...