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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 227.7 MB / 247.2 MB, free: 10.22 MB / 206.1 MB 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.001883/0.001883, allocations: 63.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2564, allocations: 50.55 MB / 409.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007828/0.2643, allocations: 5.921 MB / 415 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.2685, allocations: 2.111 MB / 417.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.2692, allocations: 43.81 kB / 417.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009873/0.2702, allocations: 389.4 kB / 417.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.2717, allocations: 0.5554 MB / 418.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.2722, allocations: 223.8 kB / 418.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.2748, allocations: 2.225 MB / 420.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.2774, allocations: 2.224 MB / 422.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.2797, allocations: 1.057 MB / 423.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.282, allocations: 1.207 MB / 425 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005435/0.2826, allocations: 287.9 kB / 425.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009195/0.2835, allocations: 379.8 kB / 425.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007548/0.2843, allocations: 0.7091 MB / 426.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.2859, allocations: 1.229 MB / 427.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.2906, allocations: 3.795 MB / 431.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2907, allocations: 0 / 431.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2907, allocations: 4 kB / 431.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.061e-05/0.2908, allocations: 0 / 431.4 MB, free: 10.92 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.005438/0.2962, allocations: 2.444 MB / 433.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2963, allocations: 12.03 kB / 433.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004068/0.2967, allocations: 266.2 kB / 434.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009551/0.2977, allocations: 287.5 kB / 434.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.3001, allocations: 1.384 MB / 435.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.3002, allocations: 127.5 kB / 435.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.3005, allocations: 176 kB / 436.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004552/0.3051, allocations: 2.547 MB / 438.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.3051, allocations: 0 / 438.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.3053, allocations: 79.97 kB / 438.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.3054, allocations: 95.53 kB / 438.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003812/0.3093, allocations: 2.11 MB / 440.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.3211, allocations: 7.385 MB / 448.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.3228, allocations: 1.259 MB / 449.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000772/0.3236, allocations: 474.9 kB / 450 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.3238, allocations: 121.6 kB / 450.1 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3239, allocations: 43 kB / 450.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.775e-06/0.3239, allocations: 0 / 450.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004417/0.3283, allocations: 2.287 MB / 452.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.3284, allocations: 81.55 kB / 452.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.3306, allocations: 1.524 MB / 454.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.3307, allocations: 41.64 kB / 454.1 MB, free: 3.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007999/0.3315, allocations: 1.006 MB / 455.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.3317, allocations: 202.5 kB / 455.3 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.3321, allocations: 246.7 kB / 455.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3323, allocations: 353.9 kB / 455.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.333, allocations: 462.3 kB / 456.4 MB, free: 1.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.3345, allocations: 1.087 MB / 457.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.3367, allocations: 1.619 MB / 459.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.3367, allocations: 8 kB / 459.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002945/0.3396, allocations: 1.691 MB / 460.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.3397, allocations: 19.94 kB / 460.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/0.3397, allocations: 24 kB / 460.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000769/0.3405, allocations: 177 kB / 461 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.3414, allocations: 283.5 kB / 461.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.3441, allocations: 2.357 MB / 463.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3453, allocations: 87.81 kB / 463.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.3454, allocations: 67.98 kB / 463.8 MB, free: 9.098 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.001276/0.3467, allocations: 0.709 MB / 464.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.347, allocations: 139.2 kB / 464.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.3486, allocations: 0.8374 MB / 465.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3486, allocations: 4 kB / 465.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3486, allocations: 0 / 465.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.3486, allocations: 3.984 kB / 465.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004096/0.3528, allocations: 2.502 MB / 468 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3528, allocations: 0 / 468 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.3532, allocations: 100.2 kB / 468.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006368/0.3538, allocations: 152.8 kB / 468.2 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3539, allocations: 23.92 kB / 468.2 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.3564, allocations: 2.299 MB / 470.5 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3565, allocations: 8.016 kB / 470.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.3589, allocations: 1.329 MB / 471.9 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/0.3596, allocations: 288.2 kB / 472.1 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.3597, allocations: 19.98 kB / 472.2 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.3603, allocations: 43.97 kB / 472.2 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.3605, allocations: 55.88 kB / 472.3 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.3605, allocations: 16 kB / 472.3 MB, free: 256 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001646/0.3622, allocations: 1.044 MB / 473.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3622, allocations: 3.938 kB / 473.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001455/0.3637, allocations: 351.9 kB / 473.7 MB, free: 14.86 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.002871/0.3666, allocations: 1.958 MB / 475.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.3688, allocations: 1.157 MB / 476.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3688, allocations: 4.328 kB / 476.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008587/0.3696, allocations: 0.5059 MB / 477.3 MB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.3713, allocations: 379 kB / 477.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.3927, allocations: 13.94 MB / 491.6 MB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.3943, allocations: 1.706 MB / 493.3 MB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009173/0.3953, allocations: 323.3 kB / 493.6 MB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008446/0.3961, allocations: 0.6164 MB / 494.2 MB, free: 9.297 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3961, allocations: 0 / 494.2 MB, free: 9.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0797/0.4758, allocations: 33.88 MB / 0.5157 GB, free: 7.844 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.73, allocations: 10.56 kB / 0.5158 GB, free: 7.84 MB / 446.1 MB (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)