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.001152/0.001152, allocations: 93 kB / 17.3 MB, free: 6.387 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.001312/0.001312, allocations: 174.8 kB / 18.21 MB, free: 5.551 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.911/1.911, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004859/0.0004859, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005637/0.114, allocations: 5.403 MB / 334.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.1176, allocations: 2.085 MB / 336.5 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005158/0.1181, allocations: 31.81 kB / 336.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008059/0.1189, allocations: 330.5 kB / 336.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.1201, allocations: 0.5091 MB / 337.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1205, allocations: 203.8 kB / 337.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.1235, allocations: 2.537 MB / 340.1 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.1261, allocations: 1.527 MB / 341.6 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.1291, allocations: 0.7856 MB / 342.4 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.1309, allocations: 1.015 MB / 343.4 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.1311, allocations: 128 kB / 343.5 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.1318, allocations: 223.8 kB / 343.7 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006756/0.1324, allocations: 0.5293 MB / 344.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.1338, allocations: 1.032 MB / 345.3 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.1379, allocations: 3.543 MB / 348.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1379, allocations: 7.938 kB / 348.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1379, allocations: 0 / 348.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.26e-05/0.138, allocations: 0 / 348.8 MB, free: 15.77 MB / 302.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.005114/0.1431, allocations: 2.018 MB / 350.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.1432, allocations: 8.031 kB / 350.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009144/0.1441, allocations: 250.3 kB / 351.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.1467, allocations: 1.224 MB / 352.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.1468, allocations: 131.5 kB / 352.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.1472, allocations: 179.9 kB / 352.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006002/0.1532, allocations: 2.555 MB / 355.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.1533, allocations: 0 / 355.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.1535, allocations: 68 kB / 355.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.1537, allocations: 99.58 kB / 355.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00509/0.1588, allocations: 2.114 MB / 357.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.1734, allocations: 7.527 MB / 365 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.1754, allocations: 1.263 MB / 366.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/0.1764, allocations: 482.9 kB / 366.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.1767, allocations: 121.5 kB / 366.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.1767, allocations: 43 kB / 366.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 3.667e-06/0.1767, allocations: 0 / 366.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.005368/0.1821, allocations: 2.3 MB / 369.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1822, allocations: 81.55 kB / 369.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.1851, allocations: 1.512 MB / 370.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.1851, allocations: 33.7 kB / 370.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007363/0.1859, allocations: 0.9711 MB / 371.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1861, allocations: 197.3 kB / 372 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1862, allocations: 101.7 kB / 372.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1863, allocations: 357.9 kB / 372.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.187, allocations: 466.3 kB / 372.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.1882, allocations: 1.098 MB / 374 MB, free: 5.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/0.1902, allocations: 1.631 MB / 375.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.1902, allocations: 8 kB / 375.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002676/0.1929, allocations: 1.695 MB / 377.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.1929, allocations: 16 kB / 377.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.193, allocations: 20.11 kB / 377.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007547/0.1937, allocations: 188.9 kB / 377.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008362/0.1946, allocations: 287.5 kB / 377.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2556/0.4501, allocations: 2.152 MB / 380 MB, free: 48.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.4517, allocations: 88.98 kB / 380.1 MB, free: 48.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4518, allocations: 67.08 kB / 380.1 MB, free: 48.6 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 (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.00132/0.4531, allocations: 0.7073 MB / 380.8 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.4534, allocations: 134.4 kB / 381 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.4554, allocations: 0.8495 MB / 381.8 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4554, allocations: 5.5 kB / 381.8 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4554, allocations: 2.5 kB / 381.8 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4554, allocations: 3.094 kB / 381.8 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.46, allocations: 2.521 MB / 384.3 MB, free: 47.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.46, allocations: 2.812 kB / 384.3 MB, free: 47.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.4604, allocations: 103.6 kB / 384.4 MB, free: 47.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/0.4612, allocations: 150.2 kB / 384.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.4612, allocations: 16.59 kB / 384.6 MB, free: 47.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.4634, allocations: 2.101 MB / 386.7 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4634, allocations: 3.797 kB / 386.7 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.4657, allocations: 1.335 MB / 388.1 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/0.4663, allocations: 285.8 kB / 388.3 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.4664, allocations: 15 kB / 388.3 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/0.467, allocations: 50.97 kB / 388.4 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.4671, allocations: 54.27 kB / 388.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.4672, allocations: 20.27 kB / 388.5 MB, free: 45.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.4691, allocations: 1.036 MB / 389.5 MB, free: 44.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4691, allocations: 3.844 kB / 389.5 MB, free: 44.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002095/0.4712, allocations: 353.6 kB / 389.9 MB, free: 44.71 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 (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.0005319/0.4718, allocations: 176.4 kB / 390 MB, free: 44.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.4742, allocations: 1.169 MB / 391.2 MB, free: 44.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.4743, allocations: 1.125 kB / 391.2 MB, free: 44.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.4752, allocations: 0.5222 MB / 391.7 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.4774, allocations: 363.6 kB / 392.1 MB, free: 43.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/0.484, allocations: 3.974 MB / 396 MB, free: 41.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.4858, allocations: 1.699 MB / 397.7 MB, free: 40.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001162/0.487, allocations: 326.7 kB / 398.1 MB, free: 40.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.4872, allocations: 94.02 kB / 398.2 MB, free: 40.46 MB / 318.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4872, allocations: 0 / 398.2 MB, free: 40.46 MB / 318.1 MB Notification: Performance of Templates: time 0.03201/0.5193, allocations: 17.6 MB / 415.8 MB, free: 25.1 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