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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.002159, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.409/2.409, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.417, allocations: 50.54 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01175/0.4288, allocations: 5.922 MB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007542/0.4364, allocations: 2.123 MB / 418 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.4381, allocations: 39.81 kB / 418 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.4405, allocations: 397.1 kB / 418.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.4442, allocations: 0.5515 MB / 418.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.4454, allocations: 223.8 kB / 419.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004655/0.45, allocations: 2.229 MB / 421.4 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004677/0.4548, allocations: 2.224 MB / 423.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.4589, allocations: 1.063 MB / 424.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.4623, allocations: 1.207 MB / 425.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009679/0.4633, allocations: 292 kB / 426.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.4651, allocations: 379.8 kB / 426.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.4663, allocations: 0.709 MB / 427.2 MB, free: 196 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.4695, allocations: 1.225 MB / 428.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007402/0.4769, allocations: 3.787 MB / 432.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.477, allocations: 0 / 432.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.477, allocations: 0 / 432.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001367/0.4772, allocations: 0 / 432.3 MB, free: 11.16 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.0096/0.4868, allocations: 2.396 MB / 434.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.4869, allocations: 8.031 kB / 434.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.4888, allocations: 282.2 kB / 434.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004817/0.4936, allocations: 1.368 MB / 436.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.4939, allocations: 135.5 kB / 436.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006834/0.4946, allocations: 175.9 kB / 436.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008466/0.5031, allocations: 2.543 MB / 439.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/0.5032, allocations: 0 / 439.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.5035, allocations: 72 kB / 439.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.5037, allocations: 99.58 kB / 439.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00741/0.5111, allocations: 2.11 MB / 441.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01772/0.5289, allocations: 7.359 MB / 448.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.5313, allocations: 1.262 MB / 450.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.5326, allocations: 474.9 kB / 450.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000354/0.533, allocations: 117.5 kB / 450.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.533, allocations: 39 kB / 450.7 MB, free: 8.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 4.318e-06/0.5331, allocations: 0 / 450.7 MB, free: 8.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.007589/0.5407, allocations: 2.261 MB / 452.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/0.5408, allocations: 93.53 kB / 453 MB, free: 5.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.5446, allocations: 1.516 MB / 454.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.5448, allocations: 37.7 kB / 454.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.546, allocations: 0.9674 MB / 455.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.5463, allocations: 197.4 kB / 455.7 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005548/0.5469, allocations: 242.5 kB / 456 MB, free: 2.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.5471, allocations: 361.8 kB / 456.3 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.5483, allocations: 462.3 kB / 456.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.5503, allocations: 1.083 MB / 457.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.5539, allocations: 1.627 MB / 459.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.554, allocations: 4 kB / 459.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005105/0.5591, allocations: 1.691 MB / 461.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.5592, allocations: 15.94 kB / 461.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/0.5592, allocations: 24 kB / 461.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.5606, allocations: 173.1 kB / 461.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.5624, allocations: 287.5 kB / 461.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/0.5669, allocations: 2.361 MB / 464 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.5692, allocations: 83.67 kB / 464.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/0.5695, allocations: 64 kB / 464.2 MB, free: 9.781 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.002027/0.5715, allocations: 0.7233 MB / 464.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005908/0.5721, allocations: 130.4 kB / 465 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.5751, allocations: 0.8374 MB / 465.9 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5752, allocations: 4 kB / 465.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/0.5752, allocations: 4 kB / 465.9 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.5752, allocations: 11.97 kB / 465.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/0.584, allocations: 2.487 MB / 468.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5841, allocations: 4.031 kB / 468.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.5849, allocations: 103.8 kB / 468.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/0.5861, allocations: 148.6 kB / 468.6 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/0.5862, allocations: 16 kB / 468.6 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.5906, allocations: 2.306 MB / 470.9 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.5907, allocations: 3.938 kB / 470.9 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.5946, allocations: 1.325 MB / 472.3 MB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.5958, allocations: 283.5 kB / 472.5 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/0.5963, allocations: 20 kB / 472.6 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.5978, allocations: 44.02 kB / 472.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.5981, allocations: 51.88 kB / 472.7 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.872e-05/0.5982, allocations: 19.94 kB / 472.7 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003248/0.6015, allocations: 1.04 MB / 473.7 MB, free: 15.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.12e-07/0.6015, allocations: 0 / 473.7 MB, free: 15.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003117/0.6046, allocations: 348 kB / 474.1 MB, free: 15.55 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.0008477/0.6055, allocations: 199 kB / 474.3 MB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003902/0.6095, allocations: 1.15 MB / 475.4 MB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.6095, allocations: 128 / 475.4 MB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.6111, allocations: 0.5098 MB / 475.9 MB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/0.615, allocations: 378.5 kB / 476.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.6255, allocations: 3.183 MB / 479.5 MB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002827/0.6284, allocations: 1.67 MB / 481.1 MB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.6291, allocations: 91.42 kB / 481.2 MB, free: 8.266 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6291, allocations: 0 / 481.2 MB, free: 8.266 MB / 398.1 MB Notification: Performance of Templates: time 0.0821/0.7112, allocations: 32.66 MB / 0.5018 GB, free: 7.672 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/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