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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.8 MB / 245.5 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009978/0.0009979, allocations: 105.5 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009328/0.000933, allocations: 51.91 kB / 356.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1938, allocations: 50.46 MB / 407.1 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005201/0.199, allocations: 5.898 MB / 413 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.2016, allocations: 2.086 MB / 415 MB, free: 19.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.2019, allocations: 35.88 kB / 415.1 MB, free: 19.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.2026, allocations: 335.7 kB / 415.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008318/0.2034, allocations: 0.5014 MB / 415.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.2037, allocations: 199.8 kB / 416.1 MB, free: 18.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.2051, allocations: 2.506 MB / 418.6 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.2064, allocations: 1.868 MB / 420.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.2081, allocations: 0.9031 MB / 421.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008277/0.209, allocations: 1.156 MB / 422.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.2092, allocations: 180 kB / 422.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.2096, allocations: 279.8 kB / 423 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.21, allocations: 0.5958 MB / 423.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.2107, allocations: 1.104 MB / 424.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.2125, allocations: 3.665 MB / 428.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2125, allocations: 0 / 428.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2125, allocations: 0 / 428.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.2125, allocations: 0 / 428.4 MB, free: 6.355 MB / 298.7 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.003228/0.2158, allocations: 2.384 MB / 430.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.2158, allocations: 8.031 kB / 430.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007246/0.2165, allocations: 270.3 kB / 431 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.2182, allocations: 1.31 MB / 432.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.2183, allocations: 139.5 kB / 432.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.2185, allocations: 176 kB / 432.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/0.2215, allocations: 2.547 MB / 435.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.2215, allocations: 0 / 435.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.2217, allocations: 79.92 kB / 435.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.109e-05/0.2218, allocations: 95.58 kB / 435.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/0.225, allocations: 2.107 MB / 437.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009717/0.2348, allocations: 7.445 MB / 444.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.2361, allocations: 1.265 MB / 446.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006758/0.2368, allocations: 475.2 kB / 446.6 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.237, allocations: 117.6 kB / 446.7 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.2371, allocations: 42.98 kB / 446.8 MB, free: 3.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 2.064e-06/0.2371, allocations: 0 / 446.8 MB, free: 3.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.003555/0.2406, allocations: 2.261 MB / 449 MB, free: 1.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2407, allocations: 85.48 kB / 449.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.2425, allocations: 1.512 MB / 450.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.2425, allocations: 33.7 kB / 450.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.2431, allocations: 0.9672 MB / 451.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.2433, allocations: 193.4 kB / 451.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.2436, allocations: 246.6 kB / 452.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2437, allocations: 357.9 kB / 452.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.2444, allocations: 458.3 kB / 452.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009985/0.2454, allocations: 1.094 MB / 454 MB, free: 11.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.2471, allocations: 1.627 MB / 455.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.2471, allocations: 4 kB / 455.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00238/0.2495, allocations: 1.69 MB / 457.3 MB, free: 8.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2495, allocations: 12 kB / 457.3 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.2495, allocations: 24.5 kB / 457.3 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006889/0.2502, allocations: 176.7 kB / 457.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.2511, allocations: 283.5 kB / 457.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.2532, allocations: 2.151 MB / 459.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/0.254, allocations: 83.67 kB / 460 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.2541, allocations: 64 kB / 460.1 MB, free: 5.172 MB / 330.7 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.0008441/0.255, allocations: 0.7163 MB / 460.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.2551, allocations: 138.3 kB / 460.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.2565, allocations: 0.8335 MB / 461.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-06/0.2565, allocations: 8 kB / 461.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2565, allocations: 3.984 kB / 461.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2566, allocations: 0 / 461.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.2602, allocations: 2.498 MB / 464.3 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2602, allocations: 8.062 kB / 464.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.2606, allocations: 91.89 kB / 464.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005884/0.2612, allocations: 165.1 kB / 464.5 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.2612, allocations: 16 kB / 464.5 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.2632, allocations: 2.092 MB / 466.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2633, allocations: 4 kB / 466.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008973/0.2722, allocations: 7.037 MB / 473.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.2727, allocations: 279.4 kB / 473.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.2729, allocations: 19.98 kB / 474 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.2735, allocations: 39.97 kB / 474 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.2736, allocations: 51.94 kB / 474 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.2736, allocations: 16 kB / 474.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001373/0.275, allocations: 1.04 MB / 475.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.275, allocations: 0 / 475.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001552/0.2766, allocations: 476 kB / 475.6 MB, free: 5.055 MB / 346.7 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.0004185/0.277, allocations: 191.9 kB / 475.8 MB, free: 4.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.2789, allocations: 1.145 MB / 476.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2789, allocations: 0.875 kB / 476.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007983/0.2797, allocations: 0.5101 MB / 477.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.2812, allocations: 364.7 kB / 477.8 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005683/0.2869, allocations: 4.471 MB / 482.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.2883, allocations: 1.718 MB / 484 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001041/0.2893, allocations: 327.3 kB / 484.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.2895, allocations: 95.42 kB / 484.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2895, allocations: 0 / 484.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.03389/0.3234, allocations: 19.08 MB / 0.4917 GB, free: 9.172 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches