Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 84.64 kB / 17.31 MB, free: 6.043 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.0008558/0.0008558, allocations: 181.8 kB / 18.22 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002033/0.0002032, allocations: 8.812 kB / 302.1 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07041/0.07062, allocations: 50.42 MB / 352.5 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007096/0.07776, allocations: 8.408 MB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003833/0.08161, allocations: 2.523 MB / 363.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008587/0.08249, allocations: 63.81 kB / 363.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.08358, allocations: 0.5289 MB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.08566, allocations: 0.8043 MB / 364.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.08708, allocations: 0.7245 MB / 365.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.09007, allocations: 3.454 MB / 369 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1447/0.2348, allocations: 9.867 MB / 378.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.2366, allocations: 1.451 MB / 380.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.2391, allocations: 1.759 MB / 382.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006909/0.2398, allocations: 242.7 kB / 382.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.2412, allocations: 459.5 kB / 382.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006669/0.2418, allocations: 0.6639 MB / 383.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.2439, allocations: 1.811 MB / 385.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.2481, allocations: 6.635 MB / 391.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2481, allocations: 8 kB / 391.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.2481, allocations: 3.984 kB / 391.9 MB, free: 4.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.654e-05/0.2482, allocations: 1.469 kB / 391.9 MB, free: 4.355 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.007872/0.2561, allocations: 3.995 MB / 395.9 MB, free: 1.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2561, allocations: 8.312 kB / 395.9 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006416/0.2625, allocations: 1.273 MB / 397.2 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.2652, allocations: 2.229 MB / 399.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.2654, allocations: 315.3 kB / 399.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000493/0.2659, allocations: 417.3 kB / 400.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007835/0.2737, allocations: 5.489 MB / 405.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-05/0.2738, allocations: 8 kB / 405.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.2742, allocations: 167 kB / 405.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.2743, allocations: 180.6 kB / 406 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006985/0.2813, allocations: 4.822 MB / 410.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.3021, allocations: 19.37 MB / 430.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004059/0.3062, allocations: 3.925 MB / 434.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.3073, allocations: 0.8248 MB / 434.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.3074, allocations: 109 kB / 435 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3075, allocations: 55.44 kB / 435.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.566e-06/0.3075, allocations: 0 / 435.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002119/0.3096, allocations: 1.673 MB / 436.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3097, allocations: 60.41 kB / 436.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.3111, allocations: 1.334 MB / 438.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.3112, allocations: 49.7 kB / 438.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008555/0.3121, allocations: 1.75 MB / 439.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.3123, allocations: 384.7 kB / 440.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.3125, allocations: 178 kB / 440.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3126, allocations: 345.9 kB / 440.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.3137, allocations: 0.8709 MB / 441.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.3153, allocations: 1.866 MB / 443.6 MB, free: 4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.318, allocations: 2.87 MB / 446.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.318, allocations: 12 kB / 446.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003355/0.3213, allocations: 2.807 MB / 449.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.3214, allocations: 23.94 kB / 449.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.3214, allocations: 36 kB / 449.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.297e-05/0.3215, allocations: 44 kB / 449.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.3229, allocations: 0.5207 MB / 449.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.597e-05/0.3229, allocations: 78.16 kB / 449.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.324, allocations: 289.2 kB / 450.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.3242, allocations: 116 kB / 450.3 MB, free: 13.13 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001807/0.326, allocations: 1.472 MB / 451.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.3261, allocations: 130.3 kB / 451.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.3282, allocations: 1.548 MB / 453.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001313/0.3295, allocations: 1.115 MB / 454.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3295, allocations: 0 / 454.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3295, allocations: 3.984 kB / 454.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.3422, allocations: 12.39 MB / 467 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.3422, allocations: 20 kB / 467 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.3429, allocations: 228.9 kB / 467.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.559e-05/0.3429, allocations: 28 kB / 467.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/0.343, allocations: 52.7 kB / 467.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.256e-05/0.343, allocations: 43.39 kB / 467.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.782e-05/0.3431, allocations: 39.09 kB / 467.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.3458, allocations: 2.789 MB / 470.2 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.3462, allocations: 347.1 kB / 470.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.3464, allocations: 51.97 kB / 470.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.347, allocations: 71.95 kB / 470.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.3472, allocations: 146.3 kB / 470.8 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/0.3473, allocations: 59.98 kB / 470.8 MB, free: 7.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009925/0.3483, allocations: 0.9023 MB / 471.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3483, allocations: 3.938 kB / 471.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002093/0.3504, allocations: 0.8702 MB / 472.6 MB, free: 6.051 MB / 382.1 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 (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.0002859/0.3507, allocations: 225.8 kB / 472.8 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.3529, allocations: 1.952 MB / 474.8 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3529, allocations: 4 kB / 474.8 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007479/0.3537, allocations: 0.6786 MB / 475.5 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/0.3579, allocations: 333 kB / 475.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/0.3665, allocations: 8.067 MB / 483.9 MB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/0.3686, allocations: 2.735 MB / 486.6 MB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.369, allocations: 131.4 kB / 486.7 MB, free: 7.84 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.369, allocations: 0 / 486.7 MB, free: 7.84 MB / 398.1 MB Notification: Performance of Templates: time 0.03822/0.4072, allocations: 35.09 MB / 0.5096 GB, free: 4.855 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches