Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 111.9 kB / 17.06 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 195.9 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 43.94 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2712, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006853/0.2781, allocations: 5.906 MB / 406.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003499/0.2816, allocations: 2.056 MB / 408.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.2823, allocations: 39.81 kB / 408.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.2833, allocations: 405.4 kB / 408.6 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.2847, allocations: 0.5671 MB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.2851, allocations: 219.7 kB / 409.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.2871, allocations: 2.206 MB / 411.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.2894, allocations: 2.228 MB / 413.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.2915, allocations: 1.048 MB / 414.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.2929, allocations: 1.222 MB / 416.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.2933, allocations: 284 kB / 416.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.2939, allocations: 371.8 kB / 416.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005671/0.2944, allocations: 0.7013 MB / 417.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.2957, allocations: 1.233 MB / 418.7 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.2996, allocations: 3.795 MB / 422.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2996, allocations: 0 / 422.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2996, allocations: 0 / 422.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-05/0.2997, allocations: 0 / 422.5 MB, free: 2.441 MB / 334.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.00456/0.3043, allocations: 2.429 MB / 424.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3043, allocations: 12.03 kB / 424.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000324/0.3047, allocations: 282.1 kB / 425.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006511/0.3053, allocations: 259.5 kB / 425.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.3076, allocations: 1.361 MB / 426.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.3077, allocations: 131.5 kB / 427 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.308, allocations: 172 kB / 427.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/0.3118, allocations: 2.547 MB / 429.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.3118, allocations: 0 / 429.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.312, allocations: 75.98 kB / 429.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.3121, allocations: 95.58 kB / 429.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.3153, allocations: 2.114 MB / 432 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.3254, allocations: 7.377 MB / 439.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3269, allocations: 1.258 MB / 440.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.3276, allocations: 472.8 kB / 441 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.3278, allocations: 117.5 kB / 441.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.3278, allocations: 39 kB / 441.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.805e-06/0.3278, allocations: 0 / 441.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003885/0.3317, allocations: 2.291 MB / 443.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.3318, allocations: 81.55 kB / 443.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.3338, allocations: 1.52 MB / 445.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.3338, allocations: 37.7 kB / 445.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006656/0.3345, allocations: 0.9939 MB / 446.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3347, allocations: 206.4 kB / 446.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.335, allocations: 242.7 kB / 446.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3351, allocations: 357.9 kB / 446.9 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/0.3358, allocations: 462.2 kB / 447.4 MB, free: 8.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3369, allocations: 1.09 MB / 448.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.3387, allocations: 1.623 MB / 450.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.3387, allocations: 8 kB / 450.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002672/0.3414, allocations: 1.684 MB / 451.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.3414, allocations: 20.03 kB / 451.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.3415, allocations: 20 kB / 451.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/0.3422, allocations: 180.6 kB / 452 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.343, allocations: 283.5 kB / 452.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.3453, allocations: 2.373 MB / 454.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009655/0.3463, allocations: 91.81 kB / 454.7 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/0.3464, allocations: 67.98 kB / 454.8 MB, free: 0.6797 MB / 366.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.001053/0.3474, allocations: 0.704 MB / 455.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.3476, allocations: 139.2 kB / 455.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.3491, allocations: 0.8373 MB / 456.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3491, allocations: 7.828 kB / 456.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3491, allocations: 4 kB / 456.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3492, allocations: 3.984 kB / 456.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/0.3528, allocations: 2.494 MB / 459 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3528, allocations: 0 / 459 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.3532, allocations: 100.1 kB / 459.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/0.3538, allocations: 156.9 kB / 459.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.3539, allocations: 19.98 kB / 459.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.3561, allocations: 2.303 MB / 461.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3561, allocations: 4.031 kB / 461.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.358, allocations: 1.321 MB / 462.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.3585, allocations: 288.2 kB / 463.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.3587, allocations: 20.05 kB / 463.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.3593, allocations: 39.97 kB / 463.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3594, allocations: 55.88 kB / 463.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.3594, allocations: 16 kB / 463.3 MB, free: 7.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001379/0.3608, allocations: 1.036 MB / 464.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3608, allocations: 4 kB / 464.3 MB, free: 6.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001257/0.3621, allocations: 347.9 kB / 464.7 MB, free: 6.465 MB / 382.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.00249/0.3646, allocations: 1.966 MB / 466.6 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.3665, allocations: 1.157 MB / 467.8 MB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3665, allocations: 0 / 467.8 MB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.3673, allocations: 0.5186 MB / 468.3 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.3688, allocations: 374.2 kB / 468.7 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.3869, allocations: 13.91 MB / 482.6 MB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.3882, allocations: 1.706 MB / 484.3 MB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008432/0.3891, allocations: 327.2 kB / 484.6 MB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007497/0.3899, allocations: 0.6164 MB / 485.2 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3899, allocations: 3.938 kB / 485.2 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06971/0.4596, allocations: 33.75 MB / 0.5068 GB, free: 15.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.12, allocations: 8.609 kB / 0.5068 GB, free: 15.58 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches