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.001167/0.001167, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2345, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006401/0.2409, allocations: 5.917 MB / 415.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.2447, allocations: 2.119 MB / 417.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005841/0.2453, allocations: 43.81 kB / 417.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.2462, allocations: 401.2 kB / 417.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.2474, allocations: 0.5476 MB / 418.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.2478, allocations: 223.7 kB / 418.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.25, allocations: 2.233 MB / 420.7 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.2522, allocations: 2.224 MB / 422.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.2543, allocations: 1.056 MB / 424 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.2557, allocations: 1.21 MB / 425.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003562/0.2561, allocations: 288 kB / 425.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.2567, allocations: 383.8 kB / 425.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.2573, allocations: 0.7051 MB / 426.6 MB, free: 160 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.2585, allocations: 1.229 MB / 427.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003471/0.262, allocations: 3.779 MB / 431.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.262, allocations: 3.984 kB / 431.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.262, allocations: 0 / 431.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.104e-05/0.2621, allocations: 0 / 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.004135/0.2662, allocations: 2.392 MB / 434 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2662, allocations: 15.97 kB / 434 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.2671, allocations: 274.2 kB / 434.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.269, allocations: 1.364 MB / 435.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.895e-05/0.2691, allocations: 135.5 kB / 435.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.2694, allocations: 179.9 kB / 435.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/0.273, allocations: 2.547 MB / 438.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.273, allocations: 4 kB / 438.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.2732, allocations: 75.92 kB / 438.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.929e-05/0.2733, allocations: 95.58 kB / 438.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.2763, allocations: 2.107 MB / 440.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009269/0.2856, allocations: 7.355 MB / 448.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.2872, allocations: 1.269 MB / 449.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006971/0.2879, allocations: 470.9 kB / 449.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004475/0.2884, allocations: 117.6 kB / 449.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.2884, allocations: 39 kB / 450 MB, free: 8.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.266e-06/0.2884, allocations: 0 / 450 MB, free: 8.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004466/0.2929, allocations: 2.269 MB / 452.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.293, allocations: 85.55 kB / 452.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.2949, allocations: 1.524 MB / 453.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.295, allocations: 33.7 kB / 453.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/0.2957, allocations: 0.9673 MB / 454.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2958, allocations: 193.4 kB / 455.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.2961, allocations: 242.6 kB / 455.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2963, allocations: 361.9 kB / 455.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007957/0.2971, allocations: 454.3 kB / 456.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.2982, allocations: 1.091 MB / 457.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.3, allocations: 1.623 MB / 458.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.3, allocations: 8 kB / 458.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002472/0.3025, allocations: 1.691 MB / 460.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.3025, allocations: 16 kB / 460.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.3026, allocations: 20 kB / 460.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/0.3033, allocations: 173.1 kB / 460.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.3042, allocations: 287.5 kB / 461 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.3068, allocations: 2.365 MB / 463.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/0.3077, allocations: 75.69 kB / 463.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/0.3078, allocations: 71.98 kB / 463.5 MB, free: 9.746 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.0009882/0.3088, allocations: 0.7229 MB / 464.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.309, allocations: 138.4 kB / 464.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.3105, allocations: 0.8296 MB / 465.2 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3105, allocations: 7.984 kB / 465.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3106, allocations: 4 kB / 465.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3106, allocations: 11.92 kB / 465.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/0.3143, allocations: 2.483 MB / 467.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.3143, allocations: 8.328 kB / 467.7 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.3147, allocations: 99.83 kB / 467.8 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/0.3153, allocations: 148.7 kB / 467.9 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.3154, allocations: 15.98 kB / 468 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.3179, allocations: 2.306 MB / 470.3 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3179, allocations: 8.344 kB / 470.3 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.3199, allocations: 1.325 MB / 471.6 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.3204, allocations: 283.4 kB / 471.9 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.3206, allocations: 15.94 kB / 471.9 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.3211, allocations: 43.97 kB / 471.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3213, allocations: 55.88 kB / 472 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.3213, allocations: 20 kB / 472 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001584/0.3229, allocations: 1.04 MB / 473 MB, free: 15.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3229, allocations: 0 / 473 MB, free: 15.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001522/0.3245, allocations: 348 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.0004712/0.3249, allocations: 201.5 kB / 473.6 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.3273, allocations: 1.149 MB / 474.7 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.3273, allocations: 4.312 kB / 474.7 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008673/0.3282, allocations: 0.5176 MB / 475.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.3297, allocations: 376.7 kB / 475.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.3348, allocations: 3.179 MB / 478.8 MB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.3361, allocations: 1.71 MB / 480.5 MB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008198/0.3369, allocations: 319.4 kB / 480.8 MB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.3371, allocations: 87.42 kB / 480.9 MB, free: 7.867 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3371, allocations: 0 / 480.9 MB, free: 7.867 MB / 398.1 MB Notification: Performance of Templates: time 0.03194/0.3691, allocations: 18.97 MB / 499.9 MB, free: 5.086 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