Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001447/0.001447, allocations: 102.7 kB / 16.94 MB, free: 5.984 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.001934/0.001934, allocations: 177.2 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004621, allocations: 19.27 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 47.57 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005895/0.1122, allocations: 4.732 MB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.1165, allocations: 2.059 MB / 335.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.1176, allocations: 27.88 kB / 335.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.1188, allocations: 318.4 kB / 335.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.1206, allocations: 466.5 kB / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.1212, allocations: 139.9 kB / 336 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002671/0.1239, allocations: 1.462 MB / 337.5 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.1261, allocations: 1.326 MB / 338.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1274, allocations: 0.7124 MB / 339.5 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.129, allocations: 0.8677 MB / 340.4 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002859/0.1294, allocations: 128 kB / 340.5 MB, free: 7.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.13, allocations: 195.8 kB / 340.7 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.1304, allocations: 498.5 kB / 341.2 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.1309, allocations: 440.6 kB / 341.7 MB, free: 6.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.1334, allocations: 3.082 MB / 344.7 MB, free: 3.598 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1334, allocations: 3.938 kB / 344.7 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1334, allocations: 0 / 344.7 MB, free: 3.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4e-05/0.1335, allocations: 4 kB / 344.7 MB, free: 3.59 MB / 286.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.003611/0.1371, allocations: 2.022 MB / 346.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1371, allocations: 12.03 kB / 346.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/0.1378, allocations: 253.3 kB / 347 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.1397, allocations: 1.189 MB / 348.2 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1398, allocations: 131.6 kB / 348.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.14, allocations: 172 kB / 348.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.1437, allocations: 2.524 MB / 351 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.1437, allocations: 0 / 351 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.1439, allocations: 79.94 kB / 351.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-05/0.144, allocations: 95.58 kB / 351.2 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.1474, allocations: 2.106 MB / 353.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.1589, allocations: 7.511 MB / 360.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.1604, allocations: 1.271 MB / 362.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.1606, allocations: 125.5 kB / 362.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.1607, allocations: 39 kB / 362.3 MB, free: 1.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.835e-06/0.1607, allocations: 0 / 362.3 MB, free: 1.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004041/0.1648, allocations: 2.285 MB / 364.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.1648, allocations: 85.55 kB / 364.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.1668, allocations: 1.5 MB / 366.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.1669, allocations: 29.7 kB / 366.1 MB, free: 13.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/0.1677, allocations: 0.9788 MB / 367.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.1678, allocations: 193.4 kB / 367.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.1679, allocations: 24 kB / 367.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1681, allocations: 357.9 kB / 367.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/0.1687, allocations: 462.3 kB / 368.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.1698, allocations: 1.09 MB / 369.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009072/0.1708, allocations: 0.6799 MB / 369.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.1708, allocations: 8 kB / 369.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002533/0.1733, allocations: 1.687 MB / 371.6 MB, free: 7.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.1734, allocations: 16.44 kB / 371.6 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.1734, allocations: 24 kB / 371.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/0.1741, allocations: 180.7 kB / 371.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.175, allocations: 287.5 kB / 372.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.1772, allocations: 2.182 MB / 374.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/0.1782, allocations: 91.67 kB / 374.4 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.1783, allocations: 71.95 kB / 374.4 MB, free: 4.742 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00108/0.1794, allocations: 0.704 MB / 375.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.1796, allocations: 134.4 kB / 375.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.1809, allocations: 0.8452 MB / 376.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.181, allocations: 4 kB / 376.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.181, allocations: 8 kB / 376.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.181, allocations: 0 / 376.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/0.1848, allocations: 2.525 MB / 378.7 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.1848, allocations: 4 kB / 378.7 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.1852, allocations: 104.2 kB / 378.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/0.1858, allocations: 148.6 kB / 378.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.1858, allocations: 16 kB / 378.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1827/0.3685, allocations: 2.119 MB / 381 MB, free: 48.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.3686, allocations: 8.078 kB / 381.1 MB, free: 48.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.3712, allocations: 1.485 MB / 382.5 MB, free: 47.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.3719, allocations: 286.9 kB / 382.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.372, allocations: 13.56 kB / 382.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.3727, allocations: 55.2 kB / 382.9 MB, free: 47.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3728, allocations: 49.31 kB / 382.9 MB, free: 47.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.3729, allocations: 21.31 kB / 383 MB, free: 47.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001652/0.3745, allocations: 1.028 MB / 384 MB, free: 47.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3745, allocations: 0 / 384 MB, free: 47.53 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001455/0.376, allocations: 346.3 kB / 384.3 MB, free: 47.5 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003796/0.3764, allocations: 155.2 kB / 384.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.3784, allocations: 1.153 MB / 385.6 MB, free: 46.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.3784, allocations: 0.9688 kB / 385.6 MB, free: 46.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.3793, allocations: 0.5187 MB / 386.1 MB, free: 46.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3806, allocations: 352.5 kB / 386.5 MB, free: 46.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.3858, allocations: 3.751 MB / 390.2 MB, free: 44.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.3872, allocations: 1.74 MB / 392 MB, free: 43.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009921/0.3882, allocations: 323.3 kB / 392.3 MB, free: 43.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.3884, allocations: 89.59 kB / 392.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3884, allocations: 0 / 392.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of Templates: time 0.02613/0.4146, allocations: 17.14 MB / 409.5 MB, free: 31.59 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches