Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_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.001375/0.001375, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3004, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007032/0.3075, allocations: 5.921 MB / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.3115, allocations: 2.122 MB / 416.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005296/0.312, allocations: 43.81 kB / 416.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000935/0.313, allocations: 401.4 kB / 417.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.3142, allocations: 0.5632 MB / 417.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.3147, allocations: 223.8 kB / 418 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.3166, allocations: 2.229 MB / 420.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.319, allocations: 2.224 MB / 422.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.3213, allocations: 1.059 MB / 423.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.3227, allocations: 1.21 MB / 424.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.323, allocations: 292 kB / 425 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006763/0.3237, allocations: 379.8 kB / 425.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006353/0.3243, allocations: 0.7051 MB / 426.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.3257, allocations: 1.229 MB / 427.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.3291, allocations: 3.795 MB / 431.1 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3291, allocations: 0 / 431.1 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3291, allocations: 0 / 431.1 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.697e-05/0.3292, allocations: 0 / 431.1 MB, free: 11 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.004212/0.3334, allocations: 2.444 MB / 433.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3334, allocations: 12.03 kB / 433.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003121/0.3337, allocations: 278.2 kB / 433.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.3346, allocations: 283.5 kB / 434.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.3366, allocations: 1.377 MB / 435.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.775e-05/0.3367, allocations: 139.5 kB / 435.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.3369, allocations: 172 kB / 435.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/0.3406, allocations: 2.539 MB / 438.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.3407, allocations: 0 / 438.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.3408, allocations: 75.98 kB / 438.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/0.3409, allocations: 95.52 kB / 438.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.3442, allocations: 2.114 MB / 440.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.3544, allocations: 7.381 MB / 448 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.3558, allocations: 1.27 MB / 449.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/0.3564, allocations: 479 kB / 449.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.3566, allocations: 121.4 kB / 449.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3567, allocations: 39 kB / 449.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 1.873e-06/0.3567, allocations: 0 / 449.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003961/0.3607, allocations: 2.291 MB / 452.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.3607, allocations: 81.55 kB / 452.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.3628, allocations: 1.528 MB / 453.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.3629, allocations: 37.64 kB / 453.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.3636, allocations: 1.002 MB / 454.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.3638, allocations: 202.4 kB / 455 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.3641, allocations: 242.7 kB / 455.3 MB, free: 2.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3643, allocations: 357.9 kB / 455.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.365, allocations: 458.4 kB / 456.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.3663, allocations: 1.094 MB / 457.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.3682, allocations: 1.619 MB / 458.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.3682, allocations: 12 kB / 458.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002564/0.3708, allocations: 1.687 MB / 460.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.3708, allocations: 22.95 kB / 460.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.3709, allocations: 20 kB / 460.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/0.3716, allocations: 181.1 kB / 460.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.3724, allocations: 275.5 kB / 461 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.3748, allocations: 2.357 MB / 463.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.3757, allocations: 87.81 kB / 463.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/0.3758, allocations: 71.94 kB / 463.5 MB, free: 9.176 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.001003/0.3769, allocations: 0.7156 MB / 464.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.3771, allocations: 139.2 kB / 464.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.3785, allocations: 0.8374 MB / 465.2 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3785, allocations: 8 kB / 465.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3785, allocations: 4 kB / 465.2 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3785, allocations: 0 / 465.2 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.382, allocations: 2.498 MB / 467.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.382, allocations: 4 kB / 467.7 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.3824, allocations: 95.88 kB / 467.8 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006367/0.383, allocations: 152.7 kB / 467.9 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.3831, allocations: 12 kB / 467.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.3852, allocations: 2.314 MB / 470.3 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3852, allocations: 4 kB / 470.3 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.387, allocations: 1.325 MB / 471.6 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.3874, allocations: 288.2 kB / 471.9 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.3876, allocations: 16 kB / 471.9 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.3882, allocations: 48.03 kB / 471.9 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3883, allocations: 55.8 kB / 472 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.3883, allocations: 20 kB / 472 MB, free: 328 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.3898, allocations: 1.04 MB / 473.1 MB, free: 15.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3898, allocations: 0 / 473.1 MB, free: 15.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001327/0.3911, allocations: 351.9 kB / 473.4 MB, free: 14.93 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.00235/0.3935, allocations: 1.96 MB / 475.4 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.3952, allocations: 1.157 MB / 476.5 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.3952, allocations: 7.953 kB / 476.5 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.396, allocations: 0.5071 MB / 477 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.3974, allocations: 375.7 kB / 477.4 MB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/0.4156, allocations: 13.93 MB / 491.3 MB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.4169, allocations: 1.706 MB / 493 MB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008492/0.4178, allocations: 323.4 kB / 493.3 MB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/0.4186, allocations: 0.6125 MB / 494 MB, free: 9.375 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4186, allocations: 0 / 494 MB, free: 9.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07028/0.4888, allocations: 33.87 MB / 0.5155 GB, free: 7.871 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.48, allocations: 8.062 kB / 0.5155 GB, free: 7.863 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches