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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001253/0.001253, allocations: 175.1 kB / 18.66 MB, free: 4.449 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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2494, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006719/0.2562, allocations: 5.906 MB / 407.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.2598, allocations: 2.06 MB / 409.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.2604, allocations: 43.81 kB / 409.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.2614, allocations: 398.7 kB / 409.8 MB, free: 444 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.2628, allocations: 0.5671 MB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.2632, allocations: 219.8 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.2652, allocations: 2.21 MB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.2675, allocations: 2.216 MB / 415 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.2693, allocations: 1.056 MB / 416.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.2708, allocations: 1.218 MB / 417.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003217/0.2711, allocations: 284 kB / 417.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006104/0.2718, allocations: 371.8 kB / 417.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005877/0.2724, allocations: 0.713 MB / 418.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.2736, allocations: 1.225 MB / 419.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.2767, allocations: 3.782 MB / 423.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2768, allocations: 0 / 423.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2768, allocations: 0 / 423.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.155e-05/0.2768, allocations: 0 / 423.6 MB, free: 2.504 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.004343/0.2812, allocations: 2.385 MB / 426 MB, free: 64 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2812, allocations: 11.89 kB / 426 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.2819, allocations: 250.5 kB / 426.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.2838, allocations: 1.345 MB / 427.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.255e-05/0.2839, allocations: 139.5 kB / 427.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.2842, allocations: 175.9 kB / 427.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.2881, allocations: 2.547 MB / 430.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.2881, allocations: 3.938 kB / 430.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.2883, allocations: 75.98 kB / 430.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.003e-05/0.2884, allocations: 91.58 kB / 430.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/0.2917, allocations: 2.107 MB / 432.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.3021, allocations: 7.351 MB / 440.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.3036, allocations: 1.266 MB / 441.4 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.3043, allocations: 476.1 kB / 441.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.3045, allocations: 113.5 kB / 442 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3046, allocations: 43 kB / 442 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.375e-06/0.3046, allocations: 4 kB / 442 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003926/0.3085, allocations: 2.257 MB / 444.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.3086, allocations: 89.48 kB / 444.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.3106, allocations: 1.508 MB / 445.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.3107, allocations: 33.7 kB / 445.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006451/0.3113, allocations: 0.9711 MB / 446.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3115, allocations: 201.3 kB / 447.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/0.3118, allocations: 238.6 kB / 447.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3119, allocations: 361.9 kB / 447.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.3126, allocations: 450.3 kB / 448.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.3136, allocations: 1.091 MB / 449.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.3154, allocations: 1.623 MB / 450.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3154, allocations: 4 kB / 450.8 MB, free: 6.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002565/0.318, allocations: 1.687 MB / 452.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.318, allocations: 18.91 kB / 452.5 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.318, allocations: 27.98 kB / 452.5 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/0.3188, allocations: 172.8 kB / 452.7 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.3196, allocations: 283.5 kB / 453 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.3218, allocations: 2.365 MB / 455.3 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/0.3228, allocations: 83.67 kB / 455.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.3229, allocations: 64 kB / 455.5 MB, free: 1.195 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.0009161/0.3238, allocations: 0.7117 MB / 456.2 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.324, allocations: 134.5 kB / 456.3 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.3254, allocations: 0.8451 MB / 457.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3254, allocations: 7.938 kB / 457.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3254, allocations: 0 / 457.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3255, allocations: 7.984 kB / 457.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.329, allocations: 2.49 MB / 459.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.329, allocations: 4 kB / 459.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.3294, allocations: 99.81 kB / 459.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006628/0.3301, allocations: 153.2 kB / 459.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.3301, allocations: 19.94 kB / 459.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.3323, allocations: 2.295 MB / 462.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3323, allocations: 4.031 kB / 462.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.3342, allocations: 1.313 MB / 463.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/0.3347, allocations: 287.5 kB / 463.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.3349, allocations: 16.06 kB / 463.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.3355, allocations: 47.95 kB / 463.9 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3357, allocations: 59.81 kB / 464 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.3357, allocations: 16 kB / 464 MB, free: 8.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001429/0.3372, allocations: 1.032 MB / 465 MB, free: 7.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3372, allocations: 0 / 465 MB, free: 7.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001321/0.3385, allocations: 352 kB / 465.4 MB, free: 6.984 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.0004207/0.3389, allocations: 196.4 kB / 465.5 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.3407, allocations: 1.153 MB / 466.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3407, allocations: 3.969 kB / 466.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.3415, allocations: 0.5148 MB / 467.2 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.3431, allocations: 375.5 kB / 467.6 MB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.3479, allocations: 3.176 MB / 470.8 MB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.3491, allocations: 1.662 MB / 472.4 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.3494, allocations: 103.4 kB / 472.5 MB, free: 15.7 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3494, allocations: 0 / 472.5 MB, free: 15.7 MB / 398.1 MB Notification: Performance of Templates: time 0.03995/0.3894, allocations: 32.32 MB / 0.493 GB, free: 15.47 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches