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.00139/0.00139, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 60.31 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.08885, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007063/0.09594, allocations: 5.91 MB / 363.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.09977, allocations: 2.127 MB / 365.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00075/0.1005, allocations: 39.81 kB / 365.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1017, allocations: 389.4 kB / 366 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.1033, allocations: 0.5593 MB / 366.6 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.1039, allocations: 227.8 kB / 366.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.1063, allocations: 2.214 MB / 369 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.1091, allocations: 2.216 MB / 371.3 MB, free: 228 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1509/0.2599, allocations: 1.053 MB / 372.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.2619, allocations: 1.216 MB / 373.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008297/0.2628, allocations: 287.9 kB / 373.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.264, allocations: 376.2 kB / 374.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009246/0.265, allocations: 0.7038 MB / 374.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.267, allocations: 1.231 MB / 376.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.2708, allocations: 3.754 MB / 379.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2708, allocations: 4 kB / 379.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2708, allocations: 1.594 kB / 379.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.362e-05/0.2709, allocations: 1.125 kB / 379.9 MB, free: 10.03 MB / 302.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.004622/0.2755, allocations: 2.387 MB / 382.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2756, allocations: 9.25 kB / 382.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003225/0.2759, allocations: 276.4 kB / 382.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008783/0.2768, allocations: 279.9 kB / 382.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.2788, allocations: 1.321 MB / 384.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2789, allocations: 132.3 kB / 384.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.2792, allocations: 178.7 kB / 384.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.2832, allocations: 2.549 MB / 387 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.2832, allocations: 0 / 387 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.2834, allocations: 70.44 kB / 387 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-05/0.2835, allocations: 103.8 kB / 387.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.2866, allocations: 2.105 MB / 389.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00978/0.2964, allocations: 7.443 MB / 396.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.298, allocations: 1.267 MB / 398 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/0.2988, allocations: 477.5 kB / 398.4 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.2991, allocations: 116.8 kB / 398.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.2991, allocations: 38.69 kB / 398.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.836e-06/0.2991, allocations: 0 / 398.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.00419/0.3033, allocations: 2.264 MB / 400.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.3034, allocations: 83.83 kB / 400.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.3054, allocations: 1.518 MB / 402.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.3054, allocations: 36.89 kB / 402.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.306, allocations: 0.9748 MB / 403.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.3062, allocations: 196.4 kB / 403.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.3065, allocations: 242.7 kB / 403.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3067, allocations: 363.9 kB / 404.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/0.3074, allocations: 456.2 kB / 404.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.3085, allocations: 1.096 MB / 405.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.3106, allocations: 1.617 MB / 407.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.3106, allocations: 8 kB / 407.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002859/0.3135, allocations: 1.684 MB / 409.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3135, allocations: 16 kB / 409.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.3135, allocations: 20 kB / 409.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007473/0.3143, allocations: 183.8 kB / 409.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/0.3152, allocations: 288.6 kB / 409.6 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.3176, allocations: 2.363 MB / 412 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.3188, allocations: 79.59 kB / 412 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/0.3189, allocations: 71.98 kB / 412.1 MB, free: 2.414 MB / 318.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.0011/0.32, allocations: 0.7086 MB / 412.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.3202, allocations: 134.5 kB / 412.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.3217, allocations: 0.8439 MB / 413.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3217, allocations: 4 kB / 413.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3217, allocations: 0 / 413.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3217, allocations: 3.984 kB / 413.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/0.3256, allocations: 2.501 MB / 416.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.3256, allocations: 4 kB / 416.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.326, allocations: 98.69 kB / 416.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006404/0.3266, allocations: 155.9 kB / 416.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.3267, allocations: 20.05 kB / 416.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.3288, allocations: 2.304 MB / 418.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3288, allocations: 4 kB / 418.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.3307, allocations: 1.314 MB / 420.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.3312, allocations: 287.4 kB / 420.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.3314, allocations: 11.98 kB / 420.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.332, allocations: 48.03 kB / 420.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3321, allocations: 43.94 kB / 420.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.3322, allocations: 27.94 kB / 420.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.3336, allocations: 1.04 MB / 421.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3336, allocations: 3.375 kB / 421.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00142/0.3351, allocations: 348 kB / 422 MB, free: 8.301 MB / 334.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.002395/0.3375, allocations: 1.948 MB / 423.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.3396, allocations: 1.251 MB / 425.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3396, allocations: 0 / 425.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.3404, allocations: 0.5114 MB / 425.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.3419, allocations: 374.7 kB / 426.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/0.361, allocations: 15.08 MB / 441.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.3625, allocations: 1.71 MB / 442.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009723/0.3634, allocations: 323.4 kB / 443.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007869/0.3642, allocations: 0.6125 MB / 443.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3643, allocations: 0 / 443.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06359/0.4278, allocations: 33.16 MB / 476.9 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.644/10.07, allocations: 15.44 kB / 476.9 MB, free: 0.5742 MB / 382.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