Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00263/0.002637, allocations: 182.6 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.513/3.513, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 104.4 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006113/0.0006113, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4899, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.0257/0.5156, allocations: 11.65 MB / 386.2 MB, free: 36.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.5318, allocations: 3.737 MB / 389.9 MB, free: 33.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.5362, allocations: 79.84 kB / 390 MB, free: 33.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.5405, allocations: 0.6111 MB / 390.6 MB, free: 32.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.5512, allocations: 1.498 MB / 392.1 MB, free: 31.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006073/0.5573, allocations: 0.8651 MB / 393 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02303/0.5804, allocations: 7.458 MB / 400.4 MB, free: 22.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04169/0.6221, allocations: 12.05 MB / 412.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006065/0.6283, allocations: 2.266 MB / 414.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008173/0.6365, allocations: 2.809 MB / 417.6 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002498/0.6391, allocations: 392 kB / 417.9 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/0.6435, allocations: 0.5271 MB / 418.5 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003321/0.6469, allocations: 1.203 MB / 419.7 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003675/0.6506, allocations: 1.26 MB / 420.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02258/0.6733, allocations: 10.3 MB / 431.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6734, allocations: 0 / 431.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.058e-06/0.6734, allocations: 4 kB / 431.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004114/0.6738, allocations: 0 / 431.2 MB, free: 7.988 MB / 314.7 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.04293/0.7168, allocations: 6.964 MB / 438.2 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.7169, allocations: 8.031 kB / 438.2 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07939/0.7963, allocations: 5.1 MB / 443.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01701/0.8133, allocations: 3.505 MB / 446.8 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001145/0.8146, allocations: 0.5058 MB / 447.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00437/0.819, allocations: 0.6601 MB / 448 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05257/0.8716, allocations: 10.38 MB / 458.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00059/0.8723, allocations: 7.906 kB / 458.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003624/0.8759, allocations: 284 kB / 458.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009769/0.877, allocations: 394.5 kB / 459 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04524/0.9223, allocations: 9.575 MB / 468.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1237/1.046, allocations: 31.95 MB / 0.4888 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4499/1.496, allocations: 22.87 MB / 0.5112 GB, free: 77.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02486/1.521, allocations: 6.261 MB / 0.5173 GB, free: 73.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.203e-05/1.521, allocations: 49.84 kB / 0.5173 GB, free: 73.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 9.789e-06/1.521, allocations: 1.125 kB / 0.5173 GB, free: 73.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=152): time 0.01637/1.538, allocations: 3.229 MB / 0.5205 GB, free: 72.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/1.538, allocations: 98.16 kB / 0.5206 GB, free: 72.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008628/1.546, allocations: 2.591 MB / 0.5231 GB, free: 71.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004136/1.547, allocations: 53.08 kB / 0.5231 GB, free: 71.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003206/1.55, allocations: 3.094 MB / 0.5262 GB, free: 69.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.551, allocations: 0.5543 MB / 0.5267 GB, free: 68.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006329/1.552, allocations: 77.75 kB / 0.5268 GB, free: 68.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004319/1.552, allocations: 477 kB / 0.5272 GB, free: 68.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005397/1.558, allocations: 1.461 MB / 0.5287 GB, free: 67.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007268/1.565, allocations: 3.22 MB / 0.5318 GB, free: 65.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/1.573, allocations: 2.197 MB / 0.534 GB, free: 64.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.23e-05/1.573, allocations: 18.41 kB / 0.534 GB, free: 64.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01916/1.592, allocations: 4.992 MB / 0.5388 GB, free: 60.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.592, allocations: 32 kB / 0.5389 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/1.592, allocations: 60.88 kB / 0.5389 GB, free: 60.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/1.594, allocations: 352.1 kB / 0.5393 GB, free: 59.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008298/1.603, allocations: 0.8774 MB / 0.5401 GB, free: 58.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/1.613, allocations: 4.73 MB / 0.5447 GB, free: 53.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007659/1.621, allocations: 0.5407 MB / 0.5453 GB, free: 53.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.622, allocations: 208 kB / 0.5455 GB, free: 53.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 276 * 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.008246/1.63, allocations: 2.335 MB / 0.5478 GB, free: 50.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008641/1.631, allocations: 229.1 kB / 0.548 GB, free: 50.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009272/1.641, allocations: 2.343 MB / 0.5503 GB, free: 48.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/1.641, allocations: 16 kB / 0.5503 GB, free: 48.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/1.641, allocations: 4 kB / 0.5503 GB, free: 48.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.541e-05/1.641, allocations: 7.969 kB / 0.5503 GB, free: 48.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/1.66, allocations: 5.324 MB / 0.5555 GB, free: 42.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.66, allocations: 4.031 kB / 0.5555 GB, free: 42.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.664, allocations: 255.7 kB / 0.5557 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/1.665, allocations: 265.4 kB / 0.556 GB, free: 42.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003808/1.666, allocations: 32 kB / 0.556 GB, free: 42.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/1.676, allocations: 4.614 MB / 0.5605 GB, free: 37.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.676, allocations: 0 / 0.5605 GB, free: 37.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.687, allocations: 3.333 MB / 0.5638 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/1.69, allocations: 0.4937 MB / 0.5643 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008845/1.691, allocations: 28 kB / 0.5643 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/1.694, allocations: 99.91 kB / 0.5644 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006241/1.695, allocations: 109.2 kB / 0.5645 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/1.695, allocations: 45.2 kB / 0.5645 GB, free: 33.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005568/1.701, allocations: 1.69 MB / 0.5662 GB, free: 31.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.701, allocations: 0 / 0.5662 GB, free: 31.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009059/1.71, allocations: 1.519 MB / 0.5677 GB, free: 30.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0007819/1.711, allocations: 169.2 kB / 0.5678 GB, free: 29.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/1.722, allocations: 3.506 MB / 0.5712 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.722, allocations: 4.062 kB / 0.5713 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004133/1.726, allocations: 1.261 MB / 0.5725 GB, free: 25.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/1.732, allocations: 444.4 kB / 0.5729 GB, free: 24.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03658/1.769, allocations: 11.81 MB / 0.5844 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01128/1.78, allocations: 4.171 MB / 0.5885 GB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/1.782, allocations: 231.4 kB / 0.5887 GB, free: 8.355 MB / 378.7 MB Notification: Performance of SimCode: time 1.944e-06/1.782, allocations: 0 / 0.5887 GB, free: 8.355 MB / 378.7 MB Notification: Performance of Templates: time 0.8489/2.631, allocations: 124.9 MB / 0.7107 GB, free: 114.2 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches