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.0014/0.0014, allocations: 122.8 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.00134/0.001341, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2801, allocations: 50.55 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008219/0.2883, allocations: 5.914 MB / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.2928, allocations: 2.126 MB / 416.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.2935, allocations: 39.81 kB / 416.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.2947, allocations: 389.4 kB / 417.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.2964, allocations: 0.5476 MB / 417.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.297, allocations: 227.7 kB / 418 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.2998, allocations: 2.225 MB / 420.2 MB, free: 6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.3027, allocations: 2.224 MB / 422.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.3052, allocations: 1.053 MB / 423.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.3073, allocations: 1.218 MB / 424.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005239/0.3078, allocations: 288 kB / 425 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009834/0.3088, allocations: 371.9 kB / 425.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007047/0.3095, allocations: 0.709 MB / 426.1 MB, free: 84 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.3114, allocations: 1.233 MB / 427.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.3163, allocations: 3.799 MB / 431.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3164, allocations: 0 / 431.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3164, allocations: 0 / 431.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.3165, allocations: 0 / 431.1 MB, free: 11.04 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.005946/0.3225, allocations: 2.441 MB / 433.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3225, allocations: 12.03 kB / 433.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004633/0.323, allocations: 270.2 kB / 433.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.3241, allocations: 291.5 kB / 434.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.3271, allocations: 1.373 MB / 435.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.3272, allocations: 127.5 kB / 435.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.3276, allocations: 172 kB / 435.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00519/0.3328, allocations: 2.555 MB / 438.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.3328, allocations: 0 / 438.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.333, allocations: 75.98 kB / 438.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.3332, allocations: 95.58 kB / 438.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/0.3372, allocations: 2.114 MB / 440.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.3498, allocations: 7.381 MB / 448 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.3515, allocations: 1.27 MB / 449.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/0.3523, allocations: 478.9 kB / 449.7 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.3526, allocations: 113.6 kB / 449.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.3526, allocations: 43 kB / 449.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.624e-06/0.3526, allocations: 0 / 449.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004641/0.3573, allocations: 2.287 MB / 452.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.3574, allocations: 85.55 kB / 452.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.3597, allocations: 1.524 MB / 453.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.3598, allocations: 33.7 kB / 453.8 MB, free: 3.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009208/0.3607, allocations: 1.009 MB / 454.8 MB, free: 2.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.3609, allocations: 202.4 kB / 455 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.3613, allocations: 242.7 kB / 455.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3615, allocations: 354 kB / 455.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.3623, allocations: 462.2 kB / 456 MB, free: 1.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.3636, allocations: 1.094 MB / 457.1 MB, free: 0 / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.3659, allocations: 1.615 MB / 458.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.366, allocations: 7.938 kB / 458.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003115/0.3691, allocations: 1.699 MB / 460.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.3691, allocations: 12 kB / 460.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.3692, allocations: 24 kB / 460.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00085/0.37, allocations: 177 kB / 460.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/0.3709, allocations: 283.5 kB / 460.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.3738, allocations: 2.357 MB / 463.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.375, allocations: 87.81 kB / 463.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3751, allocations: 68 kB / 463.5 MB, free: 9.211 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.001102/0.3763, allocations: 0.7117 MB / 464.2 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.3765, allocations: 143.2 kB / 464.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.3782, allocations: 0.8374 MB / 465.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3782, allocations: 4 kB / 465.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3782, allocations: 8.047 kB / 465.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3782, allocations: 4 kB / 465.2 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/0.3826, allocations: 2.498 MB / 467.7 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.3826, allocations: 4 kB / 467.7 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.383, allocations: 100.2 kB / 467.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006749/0.3837, allocations: 148.8 kB / 467.9 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.3837, allocations: 16 kB / 467.9 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.3864, allocations: 2.303 MB / 470.2 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3865, allocations: 4.062 kB / 470.2 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.3887, allocations: 1.329 MB / 471.6 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/0.3893, allocations: 292.2 kB / 471.8 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.3894, allocations: 16 kB / 471.9 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.39, allocations: 47.91 kB / 471.9 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3901, allocations: 51.94 kB / 472 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.3902, allocations: 23.98 kB / 472 MB, free: 360 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.3918, allocations: 1.04 MB / 473 MB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3918, allocations: 0 / 473 MB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001529/0.3934, allocations: 351.9 kB / 473.4 MB, free: 14.96 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.002953/0.3963, allocations: 1.964 MB / 475.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.3987, allocations: 1.149 MB / 476.5 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.3987, allocations: 4.391 kB / 476.5 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.3996, allocations: 0.5098 MB / 477 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.4014, allocations: 376.7 kB / 477.4 MB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/0.4247, allocations: 13.94 MB / 491.3 MB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.4266, allocations: 1.706 MB / 493 MB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001051/0.4276, allocations: 327.3 kB / 493.3 MB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/0.4285, allocations: 0.6125 MB / 493.9 MB, free: 9.398 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4285, allocations: 0 / 493.9 MB, free: 9.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08047/0.509, allocations: 33.87 MB / 0.5154 GB, free: 7.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.45, allocations: 3.984 kB / 0.5154 GB, free: 7.891 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.1.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