Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 195.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.6 MB / 244.4 MB, free: 8.285 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008236/0.0008237, allocations: 103.1 kB / 296.4 MB, free: 7.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002255, allocations: 8 kB / 356.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1881, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.005396/0.1936, allocations: 7.816 MB / 415.3 MB, free: 20 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.1968, allocations: 2.398 MB / 417.7 MB, free: 17.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.1973, allocations: 63.81 kB / 417.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.1979, allocations: 381.8 kB / 418.2 MB, free: 17.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.1992, allocations: 0.6063 MB / 418.8 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2004, allocations: 0.7471 MB / 419.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.2024, allocations: 3.322 MB / 422.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008914/0.2113, allocations: 8.126 MB / 431 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.2127, allocations: 1.46 MB / 432.4 MB, free: 2.816 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.2141, allocations: 1.669 MB / 434.1 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.2143, allocations: 240 kB / 434.3 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000833/0.2152, allocations: 463.8 kB / 434.8 MB, free: 464 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.2156, allocations: 0.65 MB / 435.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006727/0.2163, allocations: 0.7811 MB / 436.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.2213, allocations: 6.647 MB / 442.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2213, allocations: 4 kB / 442.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2213, allocations: 0 / 442.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.2215, allocations: 0 / 442.9 MB, free: 8.344 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.008838/0.2303, allocations: 4.037 MB / 446.9 MB, free: 4.238 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2304, allocations: 12.03 kB / 446.9 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007437/0.2378, allocations: 1.295 MB / 448.2 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.2413, allocations: 2.22 MB / 450.4 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.2415, allocations: 312.4 kB / 450.7 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005938/0.2421, allocations: 412 kB / 451.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00881/0.2509, allocations: 5.457 MB / 456.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.818e-05/0.251, allocations: 7.906 kB / 456.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/0.2513, allocations: 164 kB / 456.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.2515, allocations: 184.6 kB / 456.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007572/0.2591, allocations: 4.784 MB / 461.7 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/0.2826, allocations: 19.6 MB / 481.3 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/0.287, allocations: 3.93 MB / 485.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.2883, allocations: 0.8278 MB / 486.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.2885, allocations: 199.2 kB / 486.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2885, allocations: 43.56 kB / 486.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 3.286e-06/0.2885, allocations: 0 / 486.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.002317/0.2909, allocations: 1.662 MB / 488 MB, free: 9.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.2909, allocations: 64.41 kB / 488 MB, free: 9.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.2925, allocations: 1.326 MB / 489.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.2926, allocations: 41.7 kB / 489.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009493/0.2936, allocations: 1.753 MB / 491.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.2938, allocations: 382.8 kB / 491.5 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.2939, allocations: 40 kB / 491.6 MB, free: 6.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.2941, allocations: 439.1 kB / 492 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.2953, allocations: 0.8631 MB / 492.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.2971, allocations: 1.863 MB / 494.7 MB, free: 2.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.2987, allocations: 1.303 MB / 496 MB, free: 1.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.2987, allocations: 16 kB / 496 MB, free: 1.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003736/0.3024, allocations: 2.805 MB / 498.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.3025, allocations: 20 kB / 498.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/0.3025, allocations: 35.94 kB / 498.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.928e-05/0.3026, allocations: 52 kB / 498.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.3041, allocations: 0.5186 MB / 499.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.143e-05/0.3042, allocations: 71.72 kB / 499.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.3053, allocations: 289.4 kB / 499.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.3055, allocations: 116 kB / 499.9 MB, free: 13.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001955/0.3075, allocations: 1.484 MB / 0.4897 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.3077, allocations: 122.5 kB / 0.4898 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.3098, allocations: 1.544 MB / 0.4913 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001436/0.3113, allocations: 1.111 MB / 0.4924 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3113, allocations: 0 / 0.4924 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3113, allocations: 7.969 kB / 0.4924 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1793/0.4906, allocations: 13.83 MB / 0.5059 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.921e-05/0.4907, allocations: 23.75 kB / 0.5059 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008023/0.4915, allocations: 226.5 kB / 0.5061 GB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.802e-05/0.4916, allocations: 31.66 kB / 0.5062 GB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.999e-05/0.4917, allocations: 50.16 kB / 0.5062 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.531e-05/0.4917, allocations: 40.92 kB / 0.5062 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-05/0.4917, allocations: 35.59 kB / 0.5063 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.4953, allocations: 2.781 MB / 0.509 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/0.4959, allocations: 345.3 kB / 0.5093 GB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.4962, allocations: 49.98 kB / 0.5094 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008655/0.4971, allocations: 68.84 kB / 0.5094 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.4972, allocations: 145.5 kB / 0.5096 GB, free: 82.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.389e-05/0.4973, allocations: 58.92 kB / 0.5096 GB, free: 82.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.4984, allocations: 0.8947 MB / 0.5105 GB, free: 82.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4984, allocations: 0 / 0.5105 GB, free: 82.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002184/0.5006, allocations: 0.8665 MB / 0.5113 GB, free: 81.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003144/0.5009, allocations: 209.7 kB / 0.5115 GB, free: 81.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.5032, allocations: 1.948 MB / 0.5135 GB, free: 80.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.5032, allocations: 3.906 kB / 0.5135 GB, free: 80.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000711/0.504, allocations: 0.6664 MB / 0.5141 GB, free: 80.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.5057, allocations: 336.1 kB / 0.5144 GB, free: 80.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.5143, allocations: 7.719 MB / 0.522 GB, free: 75.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.5164, allocations: 2.738 MB / 0.5246 GB, free: 72.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.5168, allocations: 130.9 kB / 0.5248 GB, free: 72.85 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5168, allocations: 0 / 0.5248 GB, free: 72.85 MB / 378.7 MB Notification: Performance of Templates: time 0.03828/0.5551, allocations: 35.19 MB / 0.5591 GB, free: 37.97 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches