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.001474/0.001474, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 206 kB / 18.74 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.422/1.422, allocations: 227.7 MB / 247.2 MB, free: 10.21 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.001861/0.001861, allocations: 67.89 kB / 358.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2694, allocations: 50.55 MB / 409.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007674/0.2772, allocations: 5.902 MB / 415 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.2813, allocations: 2.138 MB / 417.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.2821, allocations: 35.88 kB / 417.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.2832, allocations: 385.4 kB / 417.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.2849, allocations: 0.5476 MB / 418.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.2855, allocations: 235.7 kB / 418.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.2881, allocations: 2.233 MB / 420.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.2908, allocations: 2.209 MB / 422.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.2932, allocations: 1.053 MB / 423.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.2951, allocations: 1.222 MB / 425 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004464/0.2956, allocations: 288 kB / 425.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007552/0.2963, allocations: 367.9 kB / 425.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006858/0.297, allocations: 0.709 MB / 426.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.2985, allocations: 1.229 MB / 427.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0042/0.3028, allocations: 3.799 MB / 431.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3028, allocations: 0 / 431.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3028, allocations: 0 / 431.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.484e-05/0.3029, allocations: 0 / 431.4 MB, free: 10.95 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.005007/0.3079, allocations: 2.444 MB / 433.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3079, allocations: 8.031 kB / 433.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003742/0.3083, allocations: 282.2 kB / 434.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009268/0.3093, allocations: 287.5 kB / 434.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.3115, allocations: 1.377 MB / 435.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.3117, allocations: 135.5 kB / 435.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.3119, allocations: 172 kB / 436.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004353/0.3163, allocations: 2.539 MB / 438.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.3163, allocations: 0 / 438.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.3165, allocations: 75.98 kB / 438.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.3166, allocations: 99.58 kB / 438.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/0.3203, allocations: 2.114 MB / 440.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.332, allocations: 7.377 MB / 448.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.3337, allocations: 1.271 MB / 449.5 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.3345, allocations: 478.9 kB / 450 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.3347, allocations: 113.5 kB / 450.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.3348, allocations: 39 kB / 450.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.505e-06/0.3348, allocations: 0 / 450.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004616/0.3394, allocations: 2.287 MB / 452.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.3395, allocations: 85.55 kB / 452.5 MB, free: 5.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.3419, allocations: 1.528 MB / 454.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/0.3419, allocations: 33.7 kB / 454.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008395/0.3428, allocations: 1.002 MB / 455.1 MB, free: 2.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.343, allocations: 202.4 kB / 455.3 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.3434, allocations: 246.7 kB / 455.5 MB, free: 2.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3436, allocations: 362 kB / 455.9 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007602/0.3443, allocations: 458.2 kB / 456.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.3457, allocations: 1.09 MB / 457.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.3478, allocations: 1.619 MB / 459 MB, free: 13.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.3479, allocations: 4 kB / 459 MB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003135/0.351, allocations: 1.695 MB / 460.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.351, allocations: 18.81 kB / 460.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.3511, allocations: 20 kB / 460.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/0.3518, allocations: 181.1 kB / 461 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008534/0.3527, allocations: 283.5 kB / 461.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.3554, allocations: 2.353 MB / 463.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.3565, allocations: 83.81 kB / 463.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3566, allocations: 68 kB / 463.7 MB, free: 9.133 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.001127/0.3577, allocations: 0.7118 MB / 464.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.358, allocations: 139.2 kB / 464.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.3595, allocations: 0.849 MB / 465.4 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.3596, allocations: 4 kB / 465.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3596, allocations: 4 kB / 465.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3596, allocations: 3.984 kB / 465.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.3636, allocations: 2.498 MB / 467.9 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3636, allocations: 4 kB / 467.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.364, allocations: 95.88 kB / 468 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006243/0.3646, allocations: 148.9 kB / 468.2 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.3647, allocations: 12 kB / 468.2 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.3671, allocations: 2.311 MB / 470.5 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.3672, allocations: 4 kB / 470.5 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.3693, allocations: 1.333 MB / 471.8 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/0.3698, allocations: 284.2 kB / 472.1 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.3699, allocations: 19.94 kB / 472.1 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.3705, allocations: 48.02 kB / 472.2 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.3707, allocations: 47.88 kB / 472.2 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.3707, allocations: 20 kB / 472.3 MB, free: 284 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.3723, allocations: 1.04 MB / 473.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3723, allocations: 0 / 473.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001319/0.3736, allocations: 355.9 kB / 473.6 MB, free: 14.89 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.002745/0.3764, allocations: 1.963 MB / 475.6 MB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.3785, allocations: 1.153 MB / 476.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.3786, allocations: 7.953 kB / 476.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.3794, allocations: 0.5035 MB / 477.3 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.3811, allocations: 373.4 kB / 477.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/0.4029, allocations: 13.95 MB / 491.6 MB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.4047, allocations: 1.706 MB / 493.3 MB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001072/0.4058, allocations: 327.3 kB / 493.6 MB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009468/0.4067, allocations: 0.6086 MB / 494.2 MB, free: 9.324 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4067, allocations: 4 kB / 494.2 MB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08078/0.4875, allocations: 33.88 MB / 0.5157 GB, free: 7.871 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.6, allocations: 11.91 kB / 0.5157 GB, free: 7.859 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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)