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.001327/0.001326, allocations: 99.56 kB / 16.95 MB, free: 6.453 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.001275/0.001275, allocations: 182.5 kB / 17.84 MB, free: 6.004 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.9/1.9, 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.0008859/0.0008859, allocations: 8 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1288, allocations: 47.58 MB / 328.4 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006307/0.1351, allocations: 5.112 MB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.1396, allocations: 2.012 MB / 335.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.1404, allocations: 31.81 kB / 335.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008181/0.1412, allocations: 306.2 kB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.1425, allocations: 477.4 kB / 336.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1429, allocations: 139.9 kB / 336.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.1454, allocations: 2.346 MB / 338.8 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.1471, allocations: 1.326 MB / 340.1 MB, free: 8.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.1484, allocations: 0.7628 MB / 340.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.1497, allocations: 0.9806 MB / 341.8 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.1499, allocations: 124 kB / 341.9 MB, free: 6.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.1504, allocations: 187.9 kB / 342.1 MB, free: 6.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005056/0.1509, allocations: 0.5218 MB / 342.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004692/0.1514, allocations: 444.6 kB / 343.1 MB, free: 5.262 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.1543, allocations: 3.089 MB / 346.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1544, allocations: 0 / 346.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1544, allocations: 0 / 346.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.403e-05/0.1544, allocations: 0 / 346.2 MB, free: 2.164 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.003768/0.1582, allocations: 2.03 MB / 348.2 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1583, allocations: 8.031 kB / 348.2 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/0.1589, allocations: 249.5 kB / 348.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.1608, allocations: 1.192 MB / 349.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.161, allocations: 135.5 kB / 349.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.1612, allocations: 176 kB / 350 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.1655, allocations: 2.532 MB / 352.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.1656, allocations: 0 / 352.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.1657, allocations: 79.77 kB / 352.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.1659, allocations: 95.58 kB / 352.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.1692, allocations: 2.11 MB / 354.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.1806, allocations: 7.512 MB / 362.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.1823, allocations: 1.263 MB / 363.5 MB, free: 288 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/0.1832, allocations: 491 kB / 364 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.1835, allocations: 113.5 kB / 364.1 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.1836, allocations: 39 kB / 364.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.485e-06/0.1836, allocations: 0 / 364.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004686/0.1883, allocations: 2.288 MB / 366.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.1884, allocations: 89.55 kB / 366.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.191, allocations: 1.492 MB / 368 MB, free: 11.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.191, allocations: 37.7 kB / 368.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.1921, allocations: 0.9749 MB / 369 MB, free: 10.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.1923, allocations: 197.4 kB / 369.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.1924, allocations: 24 kB / 369.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1926, allocations: 365.8 kB / 369.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/0.1933, allocations: 458.3 kB / 370.1 MB, free: 9.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.1946, allocations: 1.087 MB / 371.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.1957, allocations: 0.6877 MB / 371.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.1957, allocations: 4 kB / 371.8 MB, free: 7.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003126/0.1988, allocations: 1.694 MB / 373.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.1989, allocations: 16 kB / 373.6 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/0.1989, allocations: 20.44 kB / 373.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007922/0.1997, allocations: 184.7 kB / 373.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.2006, allocations: 283.5 kB / 374 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.2032, allocations: 2.154 MB / 376.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2043, allocations: 95.62 kB / 376.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.2044, allocations: 64 kB / 376.3 MB, free: 2.848 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.001464/0.2058, allocations: 0.704 MB / 377 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.2062, allocations: 130.4 kB / 377.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.2078, allocations: 0.8452 MB / 378 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2078, allocations: 11.98 kB / 378 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2078, allocations: 192 / 378 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2078, allocations: 4 kB / 378 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1968/0.4047, allocations: 2.521 MB / 380.6 MB, free: 49.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4047, allocations: 4.844 kB / 380.6 MB, free: 49.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.4052, allocations: 99.48 kB / 380.7 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006654/0.4059, allocations: 158.7 kB / 380.8 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.4059, allocations: 14.56 kB / 380.8 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.408, allocations: 2.089 MB / 382.9 MB, free: 48.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4081, allocations: 8.016 kB / 382.9 MB, free: 48.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.4101, allocations: 1.331 MB / 384.3 MB, free: 47.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.4106, allocations: 282.1 kB / 384.5 MB, free: 47.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.4107, allocations: 19.17 kB / 384.6 MB, free: 47.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.4113, allocations: 54.58 kB / 384.6 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.4114, allocations: 42.28 kB / 384.6 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.4115, allocations: 19.55 kB / 384.7 MB, free: 47.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0016/0.4131, allocations: 1.028 MB / 385.7 MB, free: 47.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4131, allocations: 1.062 kB / 385.7 MB, free: 47.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001454/0.4145, allocations: 348.9 kB / 386 MB, free: 47.06 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.0003679/0.4149, allocations: 149 kB / 386.2 MB, free: 46.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.4169, allocations: 1.151 MB / 387.3 MB, free: 46.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.4169, allocations: 8.875 kB / 387.3 MB, free: 46.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007885/0.4177, allocations: 0.5199 MB / 387.9 MB, free: 46.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.4193, allocations: 367.6 kB / 388.2 MB, free: 46.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.4249, allocations: 3.778 MB / 392 MB, free: 44.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.426, allocations: 1.702 MB / 393.7 MB, free: 43.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001074/0.4271, allocations: 326 kB / 394 MB, free: 43.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.4273, allocations: 88.2 kB / 394.1 MB, free: 43.02 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4273, allocations: 0 / 394.1 MB, free: 43.02 MB / 318.1 MB Notification: Performance of Templates: time 0.02677/0.4541, allocations: 17.16 MB / 411.3 MB, free: 29.93 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (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) 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