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.001468/0.001468, allocations: 117 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.45 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09311, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01068/0.1038, allocations: 9.611 MB / 366.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.1092, allocations: 2.713 MB / 369.3 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.1109, allocations: 79.75 kB / 369.4 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1669/0.2779, allocations: 3.975 MB / 373.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.2803, allocations: 0.6606 MB / 374 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.2821, allocations: 0.8891 MB / 374.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003569/0.2856, allocations: 4.021 MB / 378.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.2987, allocations: 12.73 MB / 391.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.3016, allocations: 2.399 MB / 394 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.3038, allocations: 2.658 MB / 396.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005785/0.3043, allocations: 0.6659 MB / 397.4 MB, free: 468 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.3066, allocations: 0.9886 MB / 398.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008993/0.3075, allocations: 1.251 MB / 399.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.3097, allocations: 2.557 MB / 402.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006602/0.3163, allocations: 8.868 MB / 411 MB, free: 3.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3163, allocations: 0 / 411 MB, free: 3.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3164, allocations: 0 / 411 MB, free: 3.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.875e-05/0.3164, allocations: 0 / 411 MB, free: 3.895 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01089/0.3273, allocations: 5.334 MB / 416.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3274, allocations: 11.97 kB / 416.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007786/0.3352, allocations: 1.321 MB / 417.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.3389, allocations: 2.506 MB / 420.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.3391, allocations: 345.4 kB / 420.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006455/0.3398, allocations: 465.6 kB / 421 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009609/0.3494, allocations: 6.112 MB / 427.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.473e-05/0.3495, allocations: 4 kB / 427.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004202/0.3499, allocations: 187.8 kB / 427.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.3501, allocations: 193.5 kB / 427.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.358, allocations: 5.292 MB / 432.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.3824, allocations: 21.25 MB / 454 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006225/0.3887, allocations: 5.615 MB / 459.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009978/0.3897, allocations: 0.7019 MB / 460.4 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.3899, allocations: 194.7 kB / 460.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3899, allocations: 39.56 kB / 460.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.346e-06/0.3899, allocations: 0 / 460.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002197/0.3921, allocations: 1.551 MB / 462.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3922, allocations: 64.41 kB / 462.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.394, allocations: 1.457 MB / 463.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.394, allocations: 49.69 kB / 463.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.3951, allocations: 1.95 MB / 465.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.3954, allocations: 371.4 kB / 466 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005871/0.396, allocations: 475.8 kB / 466.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3961, allocations: 353.9 kB / 466.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3973, allocations: 0.8476 MB / 467.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.3992, allocations: 1.984 MB / 469.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/0.4024, allocations: 2.998 MB / 472.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.4024, allocations: 12 kB / 472.7 MB, free: 3.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003882/0.4063, allocations: 2.867 MB / 475.5 MB, free: 0.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.4063, allocations: 23.94 kB / 475.6 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/0.4064, allocations: 40 kB / 475.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.181e-05/0.4064, allocations: 59.94 kB / 475.7 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.408, allocations: 0.5387 MB / 476.2 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-05/0.4081, allocations: 75.77 kB / 476.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.4093, allocations: 297.1 kB / 476.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.4094, allocations: 124 kB / 476.7 MB, free: 15.56 MB / 398.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 (285): * Single equations (assignments): 281 * 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.001937/0.4114, allocations: 1.668 MB / 478.3 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.4116, allocations: 138.2 kB / 478.5 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.4137, allocations: 1.428 MB / 479.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001334/0.415, allocations: 1.006 MB / 480.9 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.415, allocations: 0 / 480.9 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.415, allocations: 7.969 kB / 480.9 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.4296, allocations: 13.53 MB / 494.5 MB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-05/0.4296, allocations: 20 kB / 494.5 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.4303, allocations: 207.6 kB / 494.7 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-05/0.4303, allocations: 24.75 kB / 494.7 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.4304, allocations: 48 kB / 494.7 MB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-05/0.4305, allocations: 43.8 kB / 494.8 MB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-05/0.4305, allocations: 31.88 kB / 494.8 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.4333, allocations: 2.59 MB / 497.4 MB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.4337, allocations: 323.2 kB / 497.7 MB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.4339, allocations: 48.05 kB / 497.8 MB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/0.4346, allocations: 67.94 kB / 497.8 MB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.4348, allocations: 131.4 kB / 498 MB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/0.4349, allocations: 55.94 kB / 498 MB, free: 8.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.436, allocations: 0.9916 MB / 499 MB, free: 7.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.436, allocations: 0 / 499 MB, free: 7.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002219/0.4383, allocations: 0.9398 MB / 500 MB, free: 7.027 MB / 414.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 (101): * Single equations (assignments): 97 * 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.0003046/0.4386, allocations: 204.8 kB / 0.4884 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.4411, allocations: 1.967 MB / 0.4904 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4411, allocations: 4 kB / 0.4904 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000788/0.4419, allocations: 0.6197 MB / 0.491 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.4439, allocations: 381 kB / 0.4913 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.4541, allocations: 8.758 MB / 0.4999 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.4567, allocations: 3.067 MB / 0.5029 GB, free: 7.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001833/0.4585, allocations: 0.8093 MB / 0.5037 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.4588, allocations: 111.4 kB / 0.5038 GB, free: 6.805 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4588, allocations: 4 kB / 0.5038 GB, free: 6.801 MB / 430.1 MB Notification: Performance of Templates: time 0.0298/0.4886, allocations: 18.19 MB / 0.5215 GB, free: 4.789 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/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