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.001168/0.001169, allocations: 121.6 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.88 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2531, allocations: 50.54 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00729/0.2605, allocations: 5.91 MB / 415.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.2644, allocations: 2.123 MB / 417.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.2649, allocations: 39.81 kB / 417.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008895/0.2658, allocations: 397.2 kB / 417.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.267, allocations: 0.5749 MB / 418.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.2674, allocations: 223.8 kB / 418.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.2692, allocations: 2.233 MB / 420.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.2714, allocations: 2.216 MB / 423 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.2731, allocations: 1.063 MB / 424 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.2743, allocations: 1.218 MB / 425.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00029/0.2746, allocations: 288 kB / 425.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.2752, allocations: 371.8 kB / 425.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005418/0.2757, allocations: 0.7052 MB / 426.6 MB, free: 172 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.2768, allocations: 1.229 MB / 427.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.2797, allocations: 3.787 MB / 431.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2797, allocations: 0 / 431.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2798, allocations: 0 / 431.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.2798, allocations: 4 kB / 431.6 MB, free: 11.13 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.003822/0.2836, allocations: 2.388 MB / 434 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2837, allocations: 8.031 kB / 434 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008486/0.2845, allocations: 282.2 kB / 434.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.2864, allocations: 1.368 MB / 435.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.2865, allocations: 135.5 kB / 435.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.2868, allocations: 175.9 kB / 435.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/0.2903, allocations: 2.547 MB / 438.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.2903, allocations: 0 / 438.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.2905, allocations: 76 kB / 438.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.282e-05/0.2906, allocations: 95.58 kB / 438.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.2936, allocations: 2.106 MB / 440.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009131/0.3028, allocations: 7.363 MB / 448.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3041, allocations: 1.262 MB / 449.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006697/0.3048, allocations: 470.9 kB / 449.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.305, allocations: 117.6 kB / 450 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3051, allocations: 42.98 kB / 450 MB, free: 8.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.266e-06/0.3051, allocations: 3.984 kB / 450 MB, free: 8.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003513/0.3086, allocations: 2.269 MB / 452.3 MB, free: 5.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.3086, allocations: 81.55 kB / 452.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.3105, allocations: 1.516 MB / 453.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.3105, allocations: 37.7 kB / 453.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.3111, allocations: 0.9673 MB / 454.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3113, allocations: 197.4 kB / 455.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.3116, allocations: 242.6 kB / 455.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3117, allocations: 357.9 kB / 455.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/0.3124, allocations: 462.2 kB / 456.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009976/0.3134, allocations: 1.091 MB / 457.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.315, allocations: 1.623 MB / 458.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.315, allocations: 8 kB / 458.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002317/0.3174, allocations: 1.683 MB / 460.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3174, allocations: 15.94 kB / 460.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.3174, allocations: 28.03 kB / 460.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/0.3181, allocations: 180.6 kB / 460.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/0.3189, allocations: 283.5 kB / 461 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.3211, allocations: 2.361 MB / 463.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/0.322, allocations: 83.67 kB / 463.5 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/0.3221, allocations: 64 kB / 463.5 MB, free: 9.75 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.0008769/0.3229, allocations: 0.7233 MB / 464.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.3231, allocations: 130.4 kB / 464.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.3244, allocations: 0.8374 MB / 465.2 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3245, allocations: 4 kB / 465.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3245, allocations: 0 / 465.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3245, allocations: 3.984 kB / 465.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.328, allocations: 2.498 MB / 467.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.328, allocations: 0 / 467.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.3283, allocations: 95.89 kB / 467.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006005/0.3289, allocations: 157.1 kB / 468 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.329, allocations: 15.94 kB / 468 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.331, allocations: 2.306 MB / 470.3 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.331, allocations: 4.031 kB / 470.3 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.3328, allocations: 1.325 MB / 471.6 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.3332, allocations: 287.5 kB / 471.9 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3333, allocations: 12 kB / 471.9 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.3339, allocations: 48.03 kB / 472 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.334, allocations: 47.88 kB / 472 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.334, allocations: 16 kB / 472 MB, free: 0.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.3354, allocations: 1.052 MB / 473.1 MB, free: 15.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3354, allocations: 0 / 473.1 MB, free: 15.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001256/0.3367, allocations: 352 kB / 473.4 MB, free: 15.52 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.0004211/0.3371, allocations: 193.5 kB / 473.6 MB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.3389, allocations: 1.152 MB / 474.8 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3389, allocations: 0 / 474.8 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007725/0.3397, allocations: 0.5117 MB / 475.3 MB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.3411, allocations: 372.1 kB / 475.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.3457, allocations: 3.191 MB / 478.8 MB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.3469, allocations: 1.706 MB / 480.5 MB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007273/0.3477, allocations: 323.3 kB / 480.8 MB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3479, allocations: 95.42 kB / 480.9 MB, free: 7.867 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3479, allocations: 0 / 480.9 MB, free: 7.867 MB / 398.1 MB Notification: Performance of Templates: time 0.0305/0.3784, allocations: 18.97 MB / 499.9 MB, free: 5.09 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/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