Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002043/0.002043, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.353/2.353, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4711, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0206/0.4918, allocations: 9.742 MB / 419.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008742/0.5006, allocations: 2.748 MB / 422.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.5025, allocations: 83.75 kB / 422.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01607/0.5187, allocations: 4.192 MB / 426.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.5243, allocations: 0.7532 MB / 427.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.5288, allocations: 0.95 MB / 428.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008135/0.537, allocations: 4.066 MB / 432.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02457/0.5616, allocations: 10.96 MB / 443.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.5671, allocations: 2.357 MB / 445.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006761/0.5739, allocations: 2.659 MB / 448.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002379/0.5764, allocations: 0.6602 MB / 449.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.5796, allocations: 0.9021 MB / 450 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.582, allocations: 1.235 MB / 451.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005623/0.5876, allocations: 2.553 MB / 453.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.6025, allocations: 8.91 MB / 462.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.6025, allocations: 0 / 462.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6025, allocations: 0 / 462.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002026/0.6028, allocations: 0 / 462.7 MB, free: 12.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.02397/0.6268, allocations: 5.319 MB / 468 MB, free: 7.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6268, allocations: 8.031 kB / 468 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/0.6445, allocations: 1.319 MB / 469.3 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009116/0.6537, allocations: 2.603 MB / 471.9 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004724/0.6542, allocations: 353.3 kB / 472.3 MB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.6562, allocations: 455.9 kB / 472.7 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/0.6822, allocations: 6.102 MB / 478.8 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/0.6825, allocations: 0 / 478.8 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/0.6842, allocations: 192 kB / 479 MB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003707/0.6846, allocations: 197.5 kB / 479.2 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.7065, allocations: 5.268 MB / 484.5 MB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06175/0.7684, allocations: 20.96 MB / 0.4936 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.7803, allocations: 5.568 MB / 0.499 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.7824, allocations: 0.6589 MB / 0.4997 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/0.7828, allocations: 191.2 kB / 0.4999 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.499e-05/0.7829, allocations: 51.48 kB / 0.4999 GB, free: 9.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 6.372e-06/0.7829, allocations: 0 / 0.4999 GB, free: 9.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.004061/0.787, allocations: 1.42 MB / 0.5013 GB, free: 8.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.7871, allocations: 60.41 kB / 0.5014 GB, free: 8.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.7909, allocations: 1.461 MB / 0.5028 GB, free: 6.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.7911, allocations: 41.7 kB / 0.5028 GB, free: 6.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/0.7933, allocations: 1.967 MB / 0.5047 GB, free: 4.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/0.7939, allocations: 351.2 kB / 0.5051 GB, free: 4.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.7951, allocations: 467.6 kB / 0.5055 GB, free: 3.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003135/0.7954, allocations: 361.9 kB / 0.5059 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.7977, allocations: 0.8085 MB / 0.5067 GB, free: 2.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.8012, allocations: 1.941 MB / 0.5086 GB, free: 96 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006563/0.8078, allocations: 2.927 MB / 0.5114 GB, free: 12.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.215e-05/0.8079, allocations: 8 kB / 0.5114 GB, free: 12.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.008247/0.8162, allocations: 2.793 MB / 0.5141 GB, free: 9.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.8163, allocations: 20 kB / 0.5142 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.997e-05/0.8164, allocations: 40 kB / 0.5142 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.8165, allocations: 56 kB / 0.5143 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.8193, allocations: 0.5303 MB / 0.5148 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001052/0.8194, allocations: 80.23 kB / 0.5148 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.8219, allocations: 293.2 kB / 0.5151 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/0.8222, allocations: 124 kB / 0.5152 GB, free: 8.676 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004485/0.8267, allocations: 1.671 MB / 0.5169 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/0.8272, allocations: 126.4 kB / 0.517 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.831, allocations: 1.341 MB / 0.5183 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002601/0.8337, allocations: 0.9279 MB / 0.5192 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.8337, allocations: 0 / 0.5192 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.8338, allocations: 7.969 kB / 0.5192 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03022/0.864, allocations: 13.49 MB / 0.5324 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.304e-05/0.8641, allocations: 24.06 kB / 0.5324 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.8657, allocations: 211.6 kB / 0.5326 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.134e-05/0.8657, allocations: 27.94 kB / 0.5326 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.8659, allocations: 47.98 kB / 0.5327 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.977e-05/0.8659, allocations: 39.8 kB / 0.5327 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.76e-05/0.866, allocations: 31.88 kB / 0.5328 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/0.8711, allocations: 2.454 MB / 0.5352 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.8723, allocations: 327.1 kB / 0.5355 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.8726, allocations: 47.92 kB / 0.5355 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.874, allocations: 63.94 kB / 0.5356 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.8743, allocations: 127.5 kB / 0.5357 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.8745, allocations: 56 kB / 0.5357 GB, free: 2.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002427/0.8769, allocations: 0.9877 MB / 0.5367 GB, free: 1.426 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8769, allocations: 4 kB / 0.5367 GB, free: 1.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005008/0.882, allocations: 0.9476 MB / 0.5376 GB, free: 480 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007089/0.8827, allocations: 198.7 kB / 0.5378 GB, free: 268 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.3919/1.275, allocations: 1.859 MB / 0.5396 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-05/1.275, allocations: 3.625 kB / 0.5397 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/1.277, allocations: 0.5687 MB / 0.5402 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/1.282, allocations: 373.1 kB / 0.5406 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/1.301, allocations: 6.725 MB / 0.5471 GB, free: 119.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004818/1.306, allocations: 2.984 MB / 0.55 GB, free: 118.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/1.307, allocations: 145.1 kB / 0.5502 GB, free: 118.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.273e-06/1.307, allocations: 0 / 0.5502 GB, free: 118.2 MB / 462.1 MB Notification: Performance of Templates: time 0.08106/1.388, allocations: 38.99 MB / 0.5883 GB, free: 82.64 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches