Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 93.52 kB / 16.95 MB, free: 6.469 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.001192/0.001192, allocations: 183.1 kB / 17.84 MB, free: 6.016 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.603/1.603, allocations: 205.4 MB / 224 MB, free: 13.15 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.0005228/0.0005229, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1084, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01228/0.1207, allocations: 12.57 MB / 340.9 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.1299, allocations: 3.607 MB / 344.5 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.1336, allocations: 83.75 kB / 344.6 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.1369, allocations: 0.5745 MB / 345.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.1443, allocations: 1.474 MB / 346.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.1483, allocations: 0.8655 MB / 347.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01529/0.1636, allocations: 9.518 MB / 357 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02488/0.1885, allocations: 12.19 MB / 369.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/0.1939, allocations: 2.515 MB / 371.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005996/0.1999, allocations: 3.055 MB / 374.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.2019, allocations: 392 kB / 375.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.2056, allocations: 0.5545 MB / 375.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003099/0.2088, allocations: 1.242 MB / 377 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003856/0.2127, allocations: 1.256 MB / 378.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2377/0.4504, allocations: 10.3 MB / 388.5 MB, free: 24.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.4505, allocations: 1 kB / 388.5 MB, free: 24.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4505, allocations: 0 / 388.5 MB, free: 24.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000583/0.4511, allocations: 1.281 kB / 388.5 MB, free: 24.96 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02396/0.4751, allocations: 6.974 MB / 395.5 MB, free: 21.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.4751, allocations: 8.75 kB / 395.5 MB, free: 21.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03121/0.5064, allocations: 5.097 MB / 400.6 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.5174, allocations: 3.531 MB / 404.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006065/0.518, allocations: 0.502 MB / 404.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003978/0.522, allocations: 0.6641 MB / 405.3 MB, free: 18.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0299/0.5519, allocations: 10.43 MB / 415.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/0.5522, allocations: 17.45 kB / 415.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/0.5538, allocations: 281.6 kB / 416 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003659/0.5542, allocations: 387 kB / 416.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.5766, allocations: 9.572 MB / 426 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06357/0.6402, allocations: 31.95 MB / 457.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/0.6624, allocations: 22.88 MB / 480.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/0.6661, allocations: 1.928 MB / 482.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.6782, allocations: 6.248 MB / 489 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.6783, allocations: 49.75 kB / 489 MB, free: 3.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 4.268e-06/0.6783, allocations: 0 / 489 MB, free: 3.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.006571/0.6849, allocations: 3.151 MB / 492.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.685, allocations: 94.55 kB / 492.3 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/0.6905, allocations: 2.6 MB / 494.9 MB, free: 13.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003681/0.6909, allocations: 49.7 kB / 494.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002633/0.6935, allocations: 3.115 MB / 498 MB, free: 10.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007554/0.6943, allocations: 0.546 MB / 498.6 MB, free: 10.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.6945, allocations: 80 kB / 498.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003141/0.6949, allocations: 474.4 kB / 499.1 MB, free: 9.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.6976, allocations: 1.452 MB / 0.4888 GB, free: 8.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/0.7015, allocations: 3.235 MB / 0.492 GB, free: 4.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003215/0.7047, allocations: 2.193 MB / 0.4941 GB, free: 1.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-05/0.7047, allocations: 24 kB / 0.4942 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008126/0.7129, allocations: 5.047 MB / 0.4991 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.713, allocations: 32 kB / 0.4991 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.982e-05/0.713, allocations: 63.47 kB / 0.4992 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008541/0.7139, allocations: 342.9 kB / 0.4995 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/0.7168, allocations: 0.8854 MB / 0.5004 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005194/0.722, allocations: 4.636 MB / 0.5049 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/0.7261, allocations: 0.5417 MB / 0.5054 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005735/0.7267, allocations: 216 kB / 0.5056 GB, free: 6.371 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00562/0.7323, allocations: 2.33 MB / 0.5079 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005993/0.7329, allocations: 221.2 kB / 0.5081 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.7372, allocations: 2.325 MB / 0.5104 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.7372, allocations: 16 kB / 0.5104 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.7373, allocations: 6.344 kB / 0.5104 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.7373, allocations: 7.969 kB / 0.5104 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009939/0.7472, allocations: 5.329 MB / 0.5156 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.7473, allocations: 4 kB / 0.5156 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.7485, allocations: 258.4 kB / 0.5159 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006624/0.7492, allocations: 257.7 kB / 0.5161 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.7493, allocations: 28 kB / 0.5162 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.7541, allocations: 4.52 MB / 0.5206 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.7541, allocations: 12.05 kB / 0.5206 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/0.7594, allocations: 3.28 MB / 0.5238 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/0.7609, allocations: 0.4899 MB / 0.5243 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.7611, allocations: 32 kB / 0.5243 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7622, allocations: 95.97 kB / 0.5244 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.7624, allocations: 109.2 kB / 0.5245 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.949e-05/0.7625, allocations: 44 kB / 0.5245 GB, free: 2.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003294/0.7658, allocations: 1.694 MB / 0.5262 GB, free: 1.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.025e-06/0.7659, allocations: 0 / 0.5262 GB, free: 1.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.2701/1.036, allocations: 1.524 MB / 0.5277 GB, free: 142.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_p.reference.gamma) * 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 (134): * Single equations (assignments): 132 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009776/1.037, allocations: 164.1 kB / 0.5278 GB, free: 142.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007942/1.045, allocations: 3.494 MB / 0.5312 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.045, allocations: 0.9375 kB / 0.5312 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/1.047, allocations: 1.262 MB / 0.5325 GB, free: 142 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/1.05, allocations: 467.5 kB / 0.5329 GB, free: 142 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.07, allocations: 12.18 MB / 0.5448 GB, free: 135.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003779/1.074, allocations: 4.172 MB / 0.5489 GB, free: 133.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003736/1.078, allocations: 1.293 MB / 0.5502 GB, free: 133.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/1.079, allocations: 183.3 kB / 0.5503 GB, free: 133.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.176e-06/1.079, allocations: 0 / 0.5503 GB, free: 133.7 MB / 430.1 MB Notification: Performance of Templates: time 0.05159/1.13, allocations: 28.84 MB / 0.5785 GB, free: 110 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches